home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_elm.idb / usr / freeware / doc / elm / Elm-FAQ.z / Elm-FAQ
Encoding:
Text File  |  1998-10-28  |  89.3 KB  |  2,431 lines

  1. Archive-name: elm/FAQ
  2. Last-modified: 1995/09/22
  3. Version: $Id: Elm-FAQ.ftp,v 4.9 1995/09/21 22:47:33 piero Exp $
  4.  
  5.  
  6.                         Frequently Asked Questions
  7.                                Elm 2.4 [24]
  8.  
  9.  
  10.                        Piero Serini - piero@free.it
  11.  
  12.          $Id: Elm-FAQ.ftp,v 4.9 1995/09/21 22:47:33 piero Exp $
  13.              (C) Piero Serini 1993,1994,1995 - All Rights Reserved
  14.  
  15.     This  is  an  unofficial   Frequently  Asked  Questions (with an-
  16.     swers) list about Elm. Syd Weinstein kindly checked this, but  he
  17.     is  not responsible for the errors  in the answers,  which are my
  18.     fault,  unless  otherwise specified.  I do NOT claim to be a mem-
  19.     ber of the Elm Development Group.
  20.  
  21.     *WARNING*: delete arepdaem and autoreply from  your systems NOW !
  22.     Those  programs  represent a security hole, giving root access to
  23.     people on your own system. They've been dropped from the  distri-
  24.     bution.
  25.  
  26. 0.0     Organization and availability
  27.  
  28.     This FAQ is posted monthly, around the 15th,  on  news.answers,
  29.     comp.answers and comp.mail.elm.
  30.  
  31.     It is available:
  32.     - from the above USENET groups
  33.     - from all the USENET archives
  34.  
  35.     - ftp://ftp.free.it/pub/elm/Elm-FAQ.Z
  36.  
  37.     - ftp://ftp.cs.ruu.nl/pub/NEWS.ANSWERS/elm/FAQ
  38.  
  39.     - mail request from cs.ruu.nl: send mail to mail-server@cs.ruu.nl
  40.       with the following commands in the message body:
  41.         send NEWS.ANSWERS/elm/FAQ
  42.         end
  43.  
  44.     A file containing instructions on how to buid and install Elm un-
  45.     der Next is on the same sites in .../Next.Z.
  46.  
  47.     A  context  diff file containing the differences between this FAQ
  48.     and the previous release is posted on comp.mail.elm and is avail-
  49.     able from the same sites in the file Elm-FAQ.diffs.Z.
  50.  
  51.     This  FAQ is NOT reposted if modified, until the next issue date.
  52.     I will modify the ftp file only.  I suggest using ftp to get  the
  53.     latest version of this document.
  54.  
  55.     This  FAQ  refers  to latest patchlevel I put my hands on.  Ques-
  56.     tions about a specific patchlevel are kept if of common interest.
  57.     Actually,  all  relevant  questions  concerning PL 21 are kept in
  58.     this file, as many users still run PL 21.
  59.  
  60.     I'm considering going multipart. There will be other changes, and
  61.     I'm recovering from being without the Net for 4 months. So,  this
  62.     FAQ  is  almost  identical  to the last posted version. I know it
  63.     contains errors, but I choose to post it as is to help you  help-
  64.     ing me. I desperately need your comments both on the contents and
  65.     the organization.
  66.  
  67.     This FAQ consists of six parts:
  68.     0.*     Organization.
  69.         (0.1    Copyright)
  70.         1.*     Operational Questions (and answers).
  71.         2.*     Installation Questions (and answers).
  72.     3.*    Filter Questions (and answers).
  73.         This part is maintained by Jan Djarv (Jan.Djarv@sa.erisoft.se)
  74.     4.*    Bugs list.
  75.         5.*     Archivers, what they archive, how to download.
  76.  
  77.     At the end of this file you can also find:
  78.     - Copyright Notice
  79.     - Warranty Disclaimer
  80.     - Publishing Notes
  81.  
  82. 0.1    Copyright
  83.  
  84.     This FAQ is Copyright (C) 1993,1994,1995 by Piero Serini.
  85.     All Rights are reserved.
  86.     Please check the full Copyright notice, Warranty disclaimer and
  87.     Publishing notes at the end of this document.
  88.  
  89.  
  90. 1.a    Questions
  91.  
  92.     Here  is  an  (incomplete) questions list, followed by an (incom-
  93.     plete) answers part. This list (and answers) are now divided into
  94.     three major groups:
  95.  
  96.     - The  "Operational" group  is dedicated to those having any pro-
  97.       blem running Elm. This part also contains a few  general  ques-
  98.       tions, like "What is Elm?"
  99.  
  100.     - The  "Installation" group is dedicated to those who want to in-
  101.       stall Elm and don't succeed in.
  102.  
  103.     - The  "Filter"  group  is  dedicated  to filter, a great utility
  104.       which appears in the 70% of the users' questions.
  105.  
  106.     Please, mail me any comment, suggestion, correction to any of the
  107.     addresses above, with Subject: Elm-FAQ
  108.  
  109.     Answers  are  from the "Elm montly posting" or from comp.mail.elm
  110.     and proper credit is given before each answer.
  111.  
  112. 1.0     Operational Questions
  113.  
  114. 1.01    What is Elm?
  115. 1.02    Which is Elm current version?
  116. 1.03    Where can I find the distribution?
  117. 1.04    Where do I get the "Elm Reference Guide" and the other docs ?
  118. 1.05    How to get frm(1L) to only show new mail?
  119. 1.06    How do I get ELM to read a mailbox other than /usr/mail/<me> ?
  120. 1.07    How do I save a message without deleting it?
  121. 1.08    How do I attach a `signature' to the bottom of outgoing messages?
  122. 1.09    Why do I get the remote signature on replies to local mail?
  123. 1.10    How can I get elm to NOT expand the alias list on outgoing msgs?
  124. 1.11    How does one mark a message as urgent?
  125. 1.12    How can I get a line like "Quoting foo:" before a replied-to mail?
  126. 1.13    How do i customize the ">" sign ??
  127. 1.14    Can I tag uuecoded files in the order I want and then uudecode them?
  128. 1.15    Is there any way to bounce all the tagged messages with ONE command ? 
  129. 1.16    Does ELM have MIME (metamail) support?
  130. 1.17    How not to include headers in outward bound mail?
  131. 1.18    Is it possible to save mail messages without the headers?
  132. 1.19    How do I upgrade my ELM aliases from 2.3 to 2.4PL23 ?
  133. 1.20    Elm seems to ignore HOME environment variable. Why?
  134. 1.21    Sometimes Elm (PL < 21) seems to join two messages in one. Why?
  135. 1.22    How can ELM be used for an automatic reply?
  136. 1.23    How to list your mail from the oldest to the newest?
  137. 1.24    How to use elmheaders file?
  138. 1.25    How to change the fullname in sent mail ?
  139. 1.26    "Alias too long" or string too long errors.
  140. 1.27    How to crypt mail in elm ?
  141. 1.28    How can I enable 8-bit characters configuration?
  142. 1.29    Sun mailtool attachments and elm?
  143. 1.30    How can I save outgoing mail ?
  144. 1.31    Can I get an automatic receipt when my message is actually read?
  145. 1.32    Get a copy of message(s) into the edit buffer when composing a reply?
  146. 1.33    How can I print in Elm ?
  147. 1.34    How can I get a complete elmrc file ?
  148. 1.35    How can I change a configuration setting for all of my users?
  149. 1.36    What do `Priority, Expires and Action' headers mean?
  150. 1.37    What does the `Precedence' header mean?
  151. 1.38    How can I get a `Reply-To' header in all of my messages?
  152. 1.39    ti/te strings for the xterm in termcap are wrong.
  153. 1.40    Can I edit and forward without having the prefix (>) added
  154. 1.41    Can I take an addres from a message and put it in the aliases list?
  155. 1.42    sendmail 565c+IDA + Elm = SEGV. Why ?
  156. 1.43    Can ELM use MH-style inboxes?
  157. 1.44    How can I enter a message that is in a folder into a message ?
  158. 1.45    I get my NIS/YP domainname appended to local mails. Why?
  159. 1.46    How can I include a file in a header ? And a quote ?
  160. 1.47    How can I build an alias containig "=" ?
  161. 1.48    What's aliases limit ? # of aliases ? total length ?
  162. 1.49    How can I change the editor ?
  163. 1.50    How do I include a file in a mail message ?
  164. 1.51    Which are the (s)ave abbreviations ?
  165. 1.52    Why do I get "folder corrupt" messages ?
  166. 1.53    How to know how may news messages arrived, without entering Elm ?
  167. 1.54    How not to display header when reading mail ?
  168. 1.55    Does Elm support headers within message body ?
  169. 1.56    How can I do <.....> with vi / my editor under Elm ?
  170. 1.57    How can I scroll backwards w/ builtin editor ?
  171. 1.58    How can I send the same message to a list of people ?
  172. 1.59    How can I resynchronize folder (deleting, etc) w/out exiting Elm ?
  173. 1.60    error: Couldn't malloc 1769480335 bytes!!
  174. 1.61    Can I handle mailing to lists of people with Elm ?
  175. 1.62    How can I put my folder in cronological order ?
  176. 1.63    Can I bounce e-mail from outside Elm ?
  177. 1.64    Can I associate a folder to an alias or to multiple senders ?
  178. 1.65    Is there a way to forward more than 1 mails in the same mail body ?
  179. 1.66    Can I know the path a mail took to reach destination ?
  180. 1.67    How do I import my unix mail aliases from .mailrc to Elm ?
  181. 1.68    Is there anything to make Elm work with SGI's Workspace ?
  182.  
  183. 2.0    Installation Questions
  184.  
  185. 2.01    On SCO Xenix, all mail is from user anonymous. Why?
  186. 2.02    Elm doesn't work on Next. Why?
  187. 2.03    Compiling with Microsoft UNIX C Compilers won't work. Why?
  188. 2.04    Various problems on Unix 286.
  189. 2.05    Configure won't run on HP-UX. Why?
  190. 2.06    Configure won't run on SCO XENIX 2.2.1. Why?
  191. 2.07    Will Elm work on SGI Indigo?
  192. 2.08    I have problems compiling elm2.4 on HP/Apollo
  193. 2.09    I have problems compiling elm2.4 on IBM AIX
  194. 2.10    Compiling elm 2.4 under NS 3.0
  195. 2.11    Elm sends 'empty mail' on 386BSD: why?
  196. 2.12    Why can't I get SGI to work for non ROOT?
  197. 2.13    I have problems p)rinting messages in 2.4PL20
  198. 2.14    Elm2.4 PL20 - 'x' key causes segmentation violation
  199. 2.15    readmsg:illegal option -- I. Why?
  200. 2.16    Forms don't work. Why?
  201. 2.17    ELM does not recognize VMS mail. Why?
  202. 2.18    Huge headers cause Memory Fault. Why?
  203. 2.19    Can I use elm for posting and replying to news?
  204. 2.20    Compile fails on lib/strftime.c [PL23].
  205. 2.21    Compile error on SGI Crimson.
  206. 2.22    Problem compiling elm on DEC Alpha, OSF/1 v.1.2
  207. 2.23    I can't build Elm 2.4PL23 on Sun 386i SunOS 4.0.2
  208. 2.24    How can I override a Configure's setup ?
  209. 2.25    How to solve hdrs/mcprt.h problems with Sequent/PTX 2 ?
  210.  
  211. 3.0    Filter Questions
  212.     This part is maintained by Jan Djarv <Jan.Djarv@sa.erisoft.se>
  213.  
  214. 3.01    What documentation exists for filter?
  215. 3.02    What do I need to get filter working?
  216. 3.03    How can I tell if my system understands .forward files?
  217. 3.04    What do I put in my .forward file?
  218. 3.05    What is the simples filter-rules file I can write to test filter?
  219. 3.06    How do I check my filter-rules for typos and other errors?
  220. 3.07    Why doesn't the output from filter -r match my filter-rules file?
  221. 3.08    Can I have 'or' in my filter-rules?
  222. 3.09    Can I make filter execute more than one rule for a message?
  223. 3.10    How do I do multiple actions for one rule?
  224. 3.11    What headers are available in the filter-rules?
  225. 3.12    How do I forward mail to an elm alias from filter?
  226. 3.13    Filter executes my script but the script doesn't work.
  227. 3.14    How do I capture the message fed to a script by execute/executec
  228. 3.15    Both execute and executec feeds the message as standard input to
  229. 3.16    What if I what to do something based on the contents of a message
  230. 3.17    How can I make filter operate on all messages in a folder?
  231. 3.18    Can I use filter to automatically answer my mail (like vacation)?
  232. 3.19    My filter doesn't recognize executec/matches.
  233. 3.20    Filter sometimes munges up my folders, or looses messages. Why?
  234. 3.21    Why doesn't elm mark mail I saved in a folder with filter as new (N)?
  235. 3.22    Why does filter join adjacent messages together?
  236. 3.23    What other mail filter programs exists?
  237. 3.24    554 "|/usr/local/bin/filter"... unknown mailer error
  238. 3.25    My filter doesn't work. I set it up correctly, but nothing happens.
  239. 3.26    How to (b)ounce from filter, instead of (f)orwarding ?
  240. 3.27    If I use filter, all incoming mail disappears. Why ?
  241. 3.28    I use filter and MMDF and have some problems.
  242.  
  243.  
  244. 1.0    Operational Answers
  245. ---------------------------
  246.  
  247. 1.01    What is Elm?
  248.  
  249.     * From Elm documentation:
  250.     Currently  on  Unix,  there  seems to be a preponderence of line-
  251.     oriented software.  This is most unfortunate as most of the soft-
  252.     ware on Unix tends to be pretty darn hard to use!  I believe that
  253.     there is more than a slight correlation  between  the  two,  and,
  254.     since I was myself having problems using "mailx" with high-volume
  255.     mail, I created a new mail system.
  256.  
  257.     In the lingo of the mail guru, Elm is a "User Agent" system, it's
  258.     designed to run with "sendmail" or "/bin/rmail" or any other UNIX
  259.     Mail Transport Agent (according to what's on your system) and  is
  260.     a full replacement of programs like "/bin/mail" and "mailx".  The
  261.     system is more than just a single program, however, and  includes
  262.     programs  like  "frm"  to list a 'table of contents' of your mail
  263.     and "printmail" to quickly paginate mail files (to allow  'clean'
  264.     printouts).
  265.  
  266. 1.02    Which is Elm current version?
  267.  
  268.     Elm current version is 2.4 PatchLevel (PL) 24.
  269.     New release should be 3.0, scheduled some time in 1995.
  270.  
  271.     If  you are on an HP machine, you can find strange (high) version
  272.     numbers, like 60.25 or 70.85. These are HP versions, derived from
  273.     Elm,  maintained  by  HP  who added some feature.  If the version
  274.     number is < 70 you can consider upgrading  to  2.4.23,  otherwise
  275.     it's a matter of choice.
  276.  
  277. 1.03    Where can I find the distribution?
  278.  
  279.     There's  a  list  of sites distributing Elm  in section 5 of this
  280.     file (5.*     Archivers, what they archive,  how  to  download.).
  281.     In  addition,  new  releases will be posted to comp.sources.unix,
  282.     patches will be posted to comp.sources.bugs.  After patches  have
  283.     been  proven  and  out  for  a  while,  they  will  be  posted to
  284.     comp.sources.unix.
  285.  
  286.     Elm portings or clones for DOS, Windows and OS/2 are available as
  287.     listed below:
  288.  
  289.     DOS/WINDOWS:
  290.     * Peter Churchyard <pjc@cc.ic.ac.uk>:
  291.     Elm-PC, a version I ported, is available by anon ftp:
  292.     ftp://lister.cc.ic.ac.uk/pub/elm-pc
  293.  
  294.     A Windows version is available, too, in:
  295.     ftp://lister.cc.ic.ac.uk/pub/winelm
  296.  
  297.     * Mike O'Connor <mjo@msen.com>:
  298.     There is a package called PC-Elm that's an imitation of Elm (i.e.
  299.     it didn't come from Elm's source tree). It's supposed to interop-
  300.     erate with UUPC and possibly other  common  PC UUCP mailers.
  301.  
  302.     * Gerry Belanger <wa1hoz@a3bbak.nai.net>:
  303.     Simtel has it available in the ka9q directory as pcelm31.zip
  304.  
  305.     ftp://ftp.coast.net/SimTel/msdos/ka9q/pcelm31.zip
  306.     ftp://wuarchive.wustl.edu/systems/ibmpc/simtel/msdos/ka9q/pcelm31.zip
  307.     ftp://ftp.uu.net/systems/ibmpc/msdos/simtel/ka9q/pcelm31.zip
  308.  
  309.     OS/2:
  310.     * Richard j. Wyble <rjw@rjwhome.dmc.com>:
  311.     Elm version 3.11 for OS/2 is available by anon ftp:
  312.     ftp://ftp.os2.nmsu.edu:/pub/os2/2.x/network/elm23exe.zip
  313.     ftp://ftp.os2.nmsu.edu:/pub/os2/2.x/network/elm23src.zip
  314.  
  315.     No other version is available for OS/2 (Yet. Maybe someone wants
  316.     to make a port?).
  317.  
  318. 1.04    Where do I get the "Elm Reference Guide" and the other docs ?
  319.  
  320.     * From the monthly posting:
  321.     Elm has several documents (over 100 pages worth of doc) that were
  322.     written to help users install, support and use Elm.  These are in
  323.     the  doc directory of the source distribution.  Contact your sys-
  324.     tems administrator for a copy of the documents.  For those  sites
  325.     that  do  not have troff (either di-troff or o-troff) and do have
  326.     postscript printers, dsinc (dsinc.Myxa.com) has  a  copy  of  the
  327.     docs already in postscript format available for anonymous uucp or
  328.     ftp.
  329.  
  330.     * David W. Tamkin (dattier@Mcs.NET):
  331.     Plain text  copies are available for FTP:
  332.         ftp://ftp.wwa.com/pub/elmguides/2.4pl24/
  333.  
  334.     * Paul Kramer (pkramer@unlinfo2.unl.edu):
  335.     At  UNL,  I  have  put together documentation on 'elm'.  You will
  336.     find it in two  different  servers:  gopher  and  ftp.   In  both
  337.     places, you should find MSWord, postscript, ASCII, and rich-text-
  338.     format versions of the local documentation.   Plus  there  are  1
  339.     page  helpsheets  in  Aldus Pagemaker, postscript, and ASCII ver-
  340.     sions. For FTP, the URLs are:
  341.         ftp://ftp.unl.edu/pub/crc/docs/UNLINFO.GUIDE/*elm*
  342.         ftp://unlinfo2.unl.edu/pub/crc.docs/UNLINFO.HELPSHEETS/elm.*
  343.  
  344. 1.05    How to get frm(1L) to only show new mail?
  345.  
  346.     * Alan Thew (alan.thew@liverpool.ac.uk):
  347.     Try  the fromwho program which IMHO is better tham frm and allows
  348.     you to type  "fromwho -n"  to show who has sent you new mail  amd
  349.     what  the  subject  line  is.   Availabe  from  comp.sources.unix
  350.     archives and needs an ANSI C compiler (but  will  build  on  Suns
  351.     with "unproto" software).
  352.  
  353.     * Syd Weinstein (syd@Myxa.com):
  354.     Better answer:
  355.     use  nfrm,  it  will  only show new mail.  nfrm is a link to frm.
  356.     There are other command line options to show various restrictions
  357.     see the frm(1) manual page.  possible status limitations are new,
  358.     unread and old or  any  combination  of  these.   typing  frm  -h
  359.     yields:
  360.  
  361.     frm -- list from and subject lines of messages in mailbox or folder
  362.     Usage: frm [-n] [-v] [-s {new|old|read}] [filename | username] ...
  363.  
  364.     option summary:
  365.     -h      print this help message.
  366.     -n      display the message number of each message printed.
  367.     -Q      very quiet -- no output is produced.  This option allows shell
  368.         scripts to check frm's return status without having output.
  369.     -q      quiet -- only print summaries for each mailbox or folder.
  370.     -S      summarize the number of messages in each mailbox or folder.
  371.     -s    status only select messages with the specified status.
  372.         'status' is one of "new", "old", "unread" (same as "old"),
  373.         or "read".  The first letter need only be specified.
  374.     -v      print a verbose header.
  375.  
  376. 1.06    How do I get ELM to read a mailbox other than /usr/mail/<me> ?
  377.  
  378.     Elm  uses the MAIL environment variable to read the correct mail-
  379.     box.
  380.  
  381. 1.07    How do I save a message without deleting it?
  382.  
  383.     C)opy it instead of s)aving.
  384.  
  385. 1.08    How do I attach a `signature' to the bottom of outgoing messages?
  386.  
  387.     1) look for "localsignature" and "remotesignature" in  your elmrc
  388.        file ( ~/.elm/elmrc );  if they're present, uncomment them and
  389.        be sure they look like:
  390.  
  391.         localsignature = ~/.signature
  392.         remotesignature = ~/.signature
  393.  
  394.     2) if they're not present, add them;
  395.     3) be sure there's also "sigdashes = ON";
  396.  
  397.     4) Create the  corresponding file(s) in your home directory, with
  398.        your signature.
  399.  
  400.     You  can  have  2  different signatures for local and remote mes-
  401.     sages: in this case you need to change one og the names in  elmrc
  402.     (like localsignature = ~/.signature.loc , for example).
  403.  
  404.     Please  note that .signature files should contain useful informa-
  405.     tion and not exceed 4 lines in length.
  406.  
  407. 1.09    Why do I get the remote signature on replies to local mail?
  408.  
  409.         * From the monthly posting:
  410.     In  Elm  2.4,  any address with an ! or @ in it is considered re-
  411.     mote, without those characters, its local.  Any reply  is  quali-
  412.     fied  to  prevent  alias  expansion.  If you had an alias in your
  413.     private Elm aliases that matched the name of a user on your  sys-
  414.     tem, but that alias did not point to that user, there would be no
  415.     way to reply to the message.  It would end up going to the  alias
  416.     name,  not  the user that mailed you.  To prevent this, Elm fully
  417.     qualifies (adds the site name) to a reply  address.   This  makes
  418.     the  simplistic signature detector think that the message is 're-
  419.     mote'. This is not slated to change until 3.0.
  420.  
  421. 1.10    How can I get elm to NOT expand the alias list on outgoing msgs?
  422.  
  423.         * From the monthly posting:
  424.     Problem  is  if  a list has, say, 100 names in it then sending to
  425.     the list expands every single one of the 100 names. I would  like
  426.     the  message  to have the "To" line = the name of the list itself
  427.     and have the actual recipients' names not appear.  You can't  and
  428.     don't  want to. (and yet you can also) An alias is a mechanism of
  429.     making Elm address a message to multiple people.   However,  when
  430.     the  message  gets to its destination, Elm also has to allow that
  431.     person do a group reply.  If the message only has your local pri-
  432.     vate  elm  alias  in  it, the group reply will try and go to that
  433.     alias name.  Unfortunately, that name is meaningless to that oth-
  434.     er person (its private to both Elm and you).
  435.  
  436.         There are two solutions:
  437.  
  438.         1) The preferred if replies are desired:
  439.     Have  your mail administrator create a file-include-alias for you
  440.     in your MTA (sendmail, et al). This is usually of the type:
  441.  
  442.         alias   :include:/some/path/to/a/file
  443.  
  444.     where the file would be in a place you control and you have write
  445.     access to the file.  Then you can add/drop members of  the  list,
  446.     and  the  mail  just  goes  to the alias, and, someone sending to
  447.     alias@your.system will be able to send to all members. (group re-
  448.     ply works correctly)
  449.  
  450.         2) The less preferred method: (no group reply is possible)
  451.     Send  the  message  to yourself, with a bcc to the Elm alias.  Of
  452.     course, the Bcc: won't be expanded by the  MTA  internal  to  the
  453.     message, so it won't appear in the message.
  454.  
  455. 1.11    How does one mark a message as urgent?
  456.  
  457.     * David W. Tamkin (dattier@Mcs.NET):
  458.     Having  an Action: header sets the recipient's A flag (if the re-
  459.     cipient uses Elm); in 2.3 have a Priority: header set the U  flag
  460.     no  matter  what  it  said  (even  "Priority:  none" or "junk" or
  461.     "low").  In 2.4 there are certain precoded Priority: values  that
  462.     do  not  turn on the U flag ["normal" and "non-urgent"], but any-
  463.     thing else will.
  464.  
  465.     * Jan Djarv <Jan.Djarv@sa.erisoft.se>:
  466.     Normal  or  non-urgent  (case independent) does not turn on the U
  467.     flag.  Also 'Importance: 2' turns on the U flag (exactly  2).   I
  468.     dont  know  if this is an old artifact. I have never seen any Im-
  469.     portance header.
  470.  
  471. 1.12    How can I get a line like "Quoting foo:" before a replied-to mail?
  472.  
  473.     * Joshua A. Laff (laff@cs.uiuc.edu):
  474.     from $HOME/.elm/elmrc:
  475.     # attribution string for replies ('%s' is the author of original
  476.     # message)
  477.     attribution = In our previous episode, %s said:
  478.  
  479.     * (me) :
  480.     I also wrote a little patch,  since it seemed everyone was look-
  481.     ing for something like "In the mail about ..., on ..., you (...)
  482.     said ...". It was posted on comp.mail.elm, sent to Syd@Myxa.COM,
  483.     and it is available on mail request from piero@free.it.
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546. 1.13    How do i customize the ">" sign ??
  547.  
  548.     * Sven Guckes (guckes@math.fu-berlin.de):
  549.     You   can   edit  the  "quote  prefix"  by  editing  the  "elmrc"
  550.     ($HOME/.elm/elmrc). Just change the value of the  variable  "pre-
  551.     fix".
  552.  
  553.     # prefix sequence for indenting included message text
  554.     prefix = >_
  555.  
  556.     Note:  The '_' stands for a <space>.
  557.  
  558. 1.14    Can I tag uuecoded files in the order I want and then uudecode them?
  559.  
  560.     * Alan Edmonds (alan@ernest.itg.ti.com):
  561.     I save all of the items into a single folder, order not important
  562.     (yet).  Bring up elm on the single folder.   Go  to  the  options
  563.     screen and select "Sort by Subject."  Go back to the main screen.
  564.     All of the items are (usually) in the proper order.  I  can  then
  565.     tag  related messages and save them (in order) to another folder.
  566.     I then run I can go back to the original folder if something gets
  567.     messed  up.   I  don't  have to trim the headers out of each part
  568.     (uucat does this), and elm figures out the order for me.
  569.     (Ask Alan Edmonds for uucat source.)
  570.  
  571.     * Steve Faiwiszewski (stevef@bony1.bony.com):
  572.     UUdecode  expects  to  decode  a  single uuencoded file. It knows
  573.     nothing about multiple parts, and certainly has no  knowledge  of
  574.     the  correct sequencing.  Here's what I do:  Typically, I receive
  575.     a multipart uuencoded file with the subject line of each msg con-
  576.     taining  the part number, so I can get the parts ordered properly
  577.     by telling Elm to sort by Msg Subject.  I then save all the parts
  578.     to  a folder, and run it through this program I found a long time
  579.     ago, called unpack (source follows).  The neat thing  about  this
  580.     program,  is that you can append many uuencoded files to the same
  581.     folder, and unpack will do the right thing - as long as  all  the
  582.     parts  are ordered correctly, and the "begin" line of each part 1
  583.     contains a unique file name.
  584.     Invoke it like this: "unpack < foldername"
  585.     I guess tagging and piping should work with it too.
  586.     (Ask Steve Faiwiszewski for unpack source.)
  587.  
  588. 1.15    Is there any way to bounce all the tagged messages with ONE command ? 
  589.  
  590.     * Chip Rosenthal (chip@chinacat.unicom.com):
  591.     Save  the  following  to a script in your personal bin directory,
  592.     say `bounce':
  593.  
  594.         : use /bin/sh
  595.         : ${ELMSTATE?} ${1?}
  596.         sed -n -e 's/^S//p' $ELMSTATE | while read mssgno ; do
  597.                 echo "Bouncing message $mssgno to $@ . . ."
  598.                 readmsg -a $mssgno | rmail $@
  599.         done
  600.  
  601.     When you run:  !bounce addr ...
  602.  
  603.     then  all of the tagged messages will be bounced to the indicated
  604.     address(es). If no messages are tagged, then  the  currently  se-
  605.     lected message will be bounced.
  606.  
  607. 1.16    Does ELM have MIME (metamail) support?
  608.  
  609.     MIME  allows  for  sending and receiving of messages compliant to
  610.     the Multipurpose Internet Mail Extension (RFC 1341).   MIME  pro-
  611.     vides  a  way to attach binary, graphic, audio, video, postscript
  612.     and other files. It doesn't necessarily need  graphics  capabili-
  613.     ties on your display, but its useful.
  614.  
  615.     If you have installed Nathaniel Borenstein's metamail package for
  616.     displaying MIME messages, Elm can make use of it.  If you  didn't
  617.     have  metamail  installed  you might want to obtain a copy of it.
  618.     The most recent version is on thumper.bellcore.com [128.96.41.1]:
  619.     /pub/nsb/mm2.6.tar.Z .
  620.  
  621.     Compiling  of Elm even with MIME support enabled would not depend
  622.     on the metamail package. But you would not be able to use  nearly
  623.     all  of  the MIME features as long as you don't have metamail in-
  624.     stalled. Metamail with its companion programs (mmencode) must  be
  625.     installed somewhere in the search path, usually /usr/local/bin.
  626.  
  627. 1.17    How not to include headers in outward bound mail?
  628.  
  629.     Problem:
  630.     all outward bound mail still includes the following lines,
  631.     even if I have the "noheader = ON" line in my .elmrc:
  632.  
  633.     X-Mailer: ELM [version 2.4 PL21]
  634.     MIME-Version: 1.0
  635.     Content-Type: text/plain; charset=US-ASCII
  636.     Content-Transfer-Encoding: 7bit
  637.     Content-Length: 67
  638.  
  639.     * Syd Weinstein (syd@Myxa.com):
  640.     "noheader  = ON" means when the message is copied into the buffer
  641.     for a reply or forward.  The "X-Mailer:" header is controlled  at
  642.     Configure time.  There is a compile time option to produce or not
  643.     produce it.  The three "Content-*" headers are always going to be
  644.     produced by 2.4.
  645.  
  646. 1.18    Is it possible to save mail messages without the headers?
  647.  
  648.     * Chip Rosenthal (chip@chinacat.unicom.com):
  649.     Use: !readmsg -n >filename
  650.  
  651.     If you want to save a few keystrokes, you can encapsulate this in
  652.     a shell script to go in your personal bin directory.
  653.  
  654.     * Syd Weinstein (syd@Myxa.com):
  655.     Note  that  some of the newer features of readmsg are only avail-
  656.     able in later 2.4 releases
  657.  
  658. 1.19    How do I upgrade my ELM aliases from 2.3 to 2.4PL23 ?
  659.  
  660.         * Syd Weinstein (syd@Myxa.com):
  661.     All I did, was make sure 2.4 as installed, and then had each user
  662.     run newalias and I ran newalias -g.  The aliases.text file is up-
  663.     wards  compatible.   The  old  newalias converted aliases.text to
  664.     aliases.data and aliases.hash the 2.4  newalias  converts  alias-
  665.     es.text  to  aliases,  aliases.dir and aliases.pag.  If you don't
  666.     have those three new files, you didn't install 2.4 correctly  and
  667.     are still running 2.3's newalias.
  668.  
  669. 1.20    Elm seems to ignore HOME environment variable. Why?
  670.  
  671.         * Syd Weinstein (syd@Myxa.com):
  672.     This is a feature.  Elm ignores $HOME, so that when su'd you read
  673.     the right mail file.  Its a choice of one or  the  other  and  we
  674.     chose to allow su over $HOME.
  675.  
  676. 1.21    Sometimes Elm (PL < 21) seems to join two messages in one. Why?
  677.  
  678.         * Syd Weinstein (syd@Myxa.com):
  679.     Early  versions  of  Elm 2.4 had a problem with messages with bad
  680.     content length headers. I'd update to a more recent version  when
  681.     21 comes out in a bit.
  682.  
  683.     Note:  now PL 23 is out. I chose to report this Question as it is
  684.     so a strange behaviour (mail still reads the  mailbox  correctly)
  685.     a person can get mad about it :)
  686.  
  687. 1.22    How can ELM be used for an automatic reply?
  688.  
  689.     It  cannot. Autoreply is no longer supprorted and MUST be removed
  690.     from you system. You can try and  use  filter,  but  it's  better
  691.     looking for some other utility.
  692.  
  693. 1.23    How to list your mail from the oldest to the newest?
  694.  
  695.     * Arnaud Girsch (Arnaud.Girsch@INSA-Lyon.FR):
  696.     You  can change the sortby= in your .elm/elmrc file, or change in
  697.     menu (O)ption, and then (S)orting criteria.  It  allows  you   to
  698.     choose   lots   of  different order, and  you can choose whatever
  699.     you want.
  700.  
  701. 1.24    How to use elmheaders file?
  702.  
  703.     * Arnaud Girsch (Arnaud.Girsch@INSA-Lyon.FR):
  704.     Under  your  .elmrc  directory, create a file named elmheaders, a
  705.     text file where you put all the lines you want to be seen in  the
  706.     header.   If  you  redefine  an existing header, it will take its
  707.     place.
  708.  
  709.     Example:  if  you  want  to redefine your Reply-To: header,  just
  710.     create the file and put the following into it:
  711.  
  712.         Reply-To: myaddress@node.domain.country
  713.  
  714.     * (me):
  715.     Please  also note that elmheaders file is NOT processed. It's ap-
  716.     pended as it is, with the  exception  of  quoted  shell  escapes.
  717.     Hence,  a  Bcc: will not work, but a Return-Reply-To will, as the
  718.     latter is processed by the *receiving* MTA.
  719.  
  720. 1.25    How to change the fullname in sent mail ?
  721.  
  722.     1) use the "fullname" option into the elmrc file;
  723.     2) set the NAME environment variable.
  724.  
  725.     Method  2)  is  useful if you want to change your name for a mail
  726.     only, without editing your elmrc file.
  727.  
  728.     Note  that  you  might  not be able to change fulname at all.  If
  729.     your Elm is configured with DONT_ADD_FROM enabled (run  `elm  -v'
  730.     to  see  if it is), then Elm is *not* adding the From: line.  The
  731.     low-level mail transport is.  If this is the case (and it common-
  732.     ly  is) you'll have to ask your local administrator how to do it.
  733.     (If you have a `chfn' command that might do it.)
  734.  
  735. 1.26    "Alias too long" or string too long errors.
  736.  
  737.     Errors  are to be expected when trying to expand very long alias-
  738.     es, mailing lists, and so on. This error  is  due  to  the  fixed
  739.     length  strings  in Elm 2.xx, and will not be fixed until 3.xx is
  740.     released.
  741.  
  742. 1.27    How to crypt mail in elm ?
  743.  
  744.     * Sven Guckes (guckes@math.fu-berlin.de):
  745.     You need these two "keylines":
  746.  
  747.     [encode]
  748.     and
  749.     [clear]
  750.  
  751.     Just  put  your  top  secret messages in between these two lines.
  752.     See the "ELM Reference Guide", "5. Special Outgoing Mail Process-
  753.     ing" for an example.
  754.  
  755.     For  all folks outside the US I might quote that little footnote:
  756.     "Unfortunately, at many non-US sites, it's  quite  probable  that
  757.     you  won't  be  able to use this feature since you won't have the
  758.     crypt() library available due to USA Government restrictions."
  759.  
  760. 1.28    How can I enable 8-bit characters configuration?
  761.  
  762.     * Hakan Sjogren (hakan@Sweden.Prime.COM)
  763.     PROBLEM:  When receiving mails having swedish characters the dis-
  764.     play of these national characters on the terminal are wrong  when
  765.     using   ELM.    If   I  add  the  line  Content-type:  text/plain
  766.     charset=iso-8859-1 into this received mail, ELM displays correct-
  767.     ly.   Since this is a normal situation I would assume ELM to dis-
  768.     play full 8bit characters if the mail bandwith is set to 8bit.
  769.  
  770.     SOLUTION: The solution to this problem was to set the environment
  771.     variable LC_CTYPE=iso_8859_1 .
  772.  
  773.     * Juergen Schroeder (schroeii@papin.HRZ.Uni-Marburg.DE):
  774.     For  displaying incoming letters no changes are  neccessary.  You
  775.     have to set the environment:
  776.  
  777.         stty -istrip pass8
  778.         LC_TYPE=iso_8859_1
  779.  
  780.     For outgoing mail you must specify when running Configure:
  781.  
  782.         charset: ISO-8859-1
  783.         content-transfer-encoding: 8bit
  784.  
  785. 1.29    Sun mailtool attachments and elm?
  786.  
  787.     * Kurt Swanson (kurt@dna.lth.se):
  788.     > Has anyone hacked elm to support the Sun attachment
  789.     > style in the Openwindow's Mailtool?
  790.     This is handled by metamail, not well, unfortunately, but handled
  791.     that way in any case...
  792.  
  793. 1.30    How can I save outgoing mail ?
  794.  
  795.     Set the following in your elmrc file:
  796.  
  797.     # save a copy of all outbound messages?
  798.     copy = ON
  799.  
  800.     # save outbound messages by login name of sender/recipient even if
  801.     # the associated folder doesn't already exist?
  802.     forcename = OFF
  803.  
  804.     # save messages, incoming and outbound, by login name of
  805.     # sender/recipient?
  806.     savename = ON
  807.  
  808.     # where to save copies of outgoing mail to, default file is "=sent"
  809.     sentmail = /path/to/the/file
  810.  
  811. 1.31    Can I get an automatic receipt when my message is actually read?
  812.  
  813.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  814.     With  Elm, you cannot.  Many people consider this an intrusion of
  815.     privacy, not a feature.
  816.  
  817. 1.32    Get a copy of message(s) into the edit buffer when composing a reply?
  818.  
  819.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  820.     Use the `readmsg' command.
  821.  
  822. 1.33    How can I print in Elm ?
  823.  
  824.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  825.     First  thing  you  need to do is change the default print command
  826.     Elm gives you.  The compiled-in default of "cat %s | lp" is obso-
  827.     lete.  Simply use "lp" (or whatever) as your print command.  This
  828.     will pipe the message directly into the  print  command,  and  it
  829.     will  leave  stdout/stderr  of the print command attached to your
  830.     terminal.  That means that pass-through printing will work.  That
  831.     means problems and error messages will be displayed.  Making this
  832.     change might fix the problems you are having.  Even if it doesn't
  833.     fix  them,  at least now you'll be able to see the error diagnos-
  834.     tics rather than the mysterious `Printout failed' message.
  835.  
  836. 1.34    How can I get a complete elmrc file ?
  837.  
  838.     From inside ELm, type 'o' (Options) then '>' (Save).
  839.     This will create a complete elmrc file, with all options and lots
  840.     of comments. Remember that a leading "#" on a line denotes a com-
  841.     ment. Hence a line with leadin "###" is ALSO a comment.
  842.  
  843. 1.35    How can I change a configuration setting for all of my users?
  844.  
  845.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  846.     By  creating  a global elmrc file.  Copy your personal elmrc file
  847.     to $libdir/elm.rc, where $libdir is  the  Elm  library  directory
  848.     that holds the help files and other such things.  Edit that file.
  849.     The values it provides will override the compiled-in defaults.
  850.  
  851. 1.36    What do `Priority, Expires and Action' headers mean?
  852.  
  853.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  854.  
  855.     Not a whole hell of a lot.  These are Elm-isms.
  856.     Priority: If you put a value in this header, *any* value other
  857.         than `normal' or `non-urgent', then Elm will put a `U' on
  858.         the index screen to note the message as urgent.
  859.     Expires: You can specify an interval up to 8 weeks from now
  860.         (e.g. `7 days').  When that date has been passed, Elm will
  861.         put a `E' on the index screen to note the message as expired.
  862.     Action: You can use this header to specify some action for the
  863.         recipient to take, and Elm will do absolutely nothing with it.
  864.  
  865. 1.37    What does the `Precedence' header mean?
  866.  
  867.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  868.     This  is  *not* an Elm-ism.  It is a sendmail-ism. :-)  It allows
  869.     you to specify handling instructions for the mail transport.   If
  870.     you  have to ask this question -- you don't want to mess with it.
  871.  
  872. 1.38    How can I get a `Reply-To' header in all of my messages?
  873.  
  874.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  875.     Create a file called ~/.elm/elmheaders that contains the single
  876.     line:
  877.  
  878.     Reply-To: joe@AcmeWidgets.COM
  879.  
  880.     The contents of this file are slapped onto the end of the headers
  881.     that Elm generates for an outgoing message.
  882.  
  883. 1.39    ti/te strings for the xterm in termcap are wrong.
  884.  
  885.     * David W Sanderson (dws@ssec.wisc.edu):
  886.     Whoever wrote the default termcap and/or terminfo descriptions
  887.     for xterm included in the ti/te strings the special escape sequences
  888.     to make xterm switch between the normal and alternate screen buffers.
  889.      These sequences are:
  890.  
  891.         \E[?47h        - use alternate screen buffer
  892.         \E[?47l        - use normal screen buffer
  893.  
  894.     The elm code is just fine as it is.  If you change it so that it
  895.     doesn't ever send ti/te, you'll just break elm for somebody else.
  896.     Fix your termcap/terminfo definition instead.
  897.  
  898.     If this won't work,
  899.     * Neil Weisenfeld (weisen@alw.nih.gov):
  900.     change usetite in your .elmrc file to:
  901.         usetite = OFF
  902.  
  903. 1.40    Can I edit and forward without having the prefix (>) added
  904.     to the mail body?
  905.  
  906.     Forward the mail, answering NO at the edit? question.
  907.     Then, in the send menu, instead of s)ending it, e)dit it.
  908.  
  909. 1.41    Can I take an addres from a message and put it in the aliases list?
  910.  
  911.     David W. Tamkin (dattier@Mcs.NET):
  912.     Return to the index screen, make sure the pointer or bar is on a
  913.     letter from that person, and press "a" twice.  The first "a" puts
  914.     you into the alias subsystem and the second says to create an alias
  915.     for the sender of the current letter.
  916.  
  917. 1.42    sendmail 565c+IDA + Elm = SEGV. Why ?
  918.  
  919.     * Paul Pomes (paul@uxc.cso.uiuc.edu):
  920.     Either fix your Elm to use correct GMT offsets or apply the following
  921.     patch from Mike Park <mikep@dragoman.com>.
  922.  
  923.     *** 5.11.0.16   1992/08/26 22:06:32
  924.     --- arpadate.c  1993/03/10 21:38:23
  925.     ***************
  926.     *** 423,428 ****
  927.     --- 423,440 ----
  928.       #endif /* LOG */
  929.             return(NULL);
  930.         }
  931.     + 
  932.     +    /*
  933.     +     * Some buggy mailers (ie elm 2.4.p13) can produce huge incorrect
  934.     +     * offsets.  Applying these offsets can cause the static array
  935.     +     * used by gmtime to be overrun on a NeXT OS3.0 causing sendmail
  936.     +     * to SEGV.
  937.     +     * Limit offsets to be +- 24 hours.
  938.     +     */
  939.     +    if (h_offset < -24)
  940.     +        h_offset = -24;
  941.     +    if (h_offset > 24)
  942.     +        h_offset = 24;
  943.       
  944.             /* is the year a leap year? */
  945.             if ((tm.tm_year % 4 == 0) &&
  946.  
  947. 1.43    Can ELM use MH-style inboxes?
  948.  
  949.     * Steve Simmons (scs@lokkur.dexter.mi.us):
  950.     Elm does not currently do this.  It has been suggsted for Elm 3.0, but
  951.     3.0 is off in the mists of the far future.
  952.  
  953. 1.44    How can I enter a message that is in a folder into a message ?
  954.  
  955.     * Syd Weinstein (syd@Myxa.com):
  956.     Just use the readmsg command.  It is the external command that does
  957.     the same thing as ~m, and it understands the current mailbox sort
  958.     order, just like ~m.  From vi, I would put the cursor on the line
  959.     I want to repalce with the message and say "!!readmsg".
  960.  
  961. 1.45    I get my NIS/YP domainname appended to local mails. Why?
  962.  
  963.     * Dave Wolfe (david_wolfe@risc.sps.mot.com):
  964.     You have to run Configure again, and say NO to the question:
  965.     Should getdomainname() be used to obtain the mail domain?
  966.  
  967.     This is because when the getdomainname() system call is found, and
  968.     you run NIS, getdomainname() usually returns the NIS domain and not
  969.     the mail domain. The domain name should be compiled into the code.
  970.     If the getdomainname call does return the correct mail domain, it
  971.     can be used.
  972.  
  973. 1.46    How can I include a file in a header ? And a quote ?
  974.  
  975.     The elmheaders file allows the inclusion of the output of a command
  976.     which is run each time Elm reads elmheaders. This is useful for a
  977.     header which changes its contents, like a fortune output.
  978.     Unfortunately, if a header cointains "`", Elm tryes to execute what
  979.     follows. The workaround is: save the offending text in a file, then
  980.     include it like follows:
  981.         X-Foo: `cat /path/to/file`
  982.  
  983. 1.47    How can I build an alias containig "=" ?
  984.  
  985.     Quote it.  i.e. : "foo=bar"@net.org
  986.  
  987. 1.48    What's aliases limit ? # of aliases ? total length ?
  988.  
  989.     Aliases are limited by length. It's 5120 chars.
  990. 1.49    How can I change the editor ?
  991.  
  992.     In your elmrc file set editor=/path/to/editor
  993.  
  994. 1.50    How do I include a file in a mail message ?
  995.  
  996.     1) Normal plain text file:
  997.        see your editor's man page. In vi, :r /path/to/file
  998.  
  999.     2) executable or non-printable file:
  1000.        see man uuencode. Then as 1)
  1001.  
  1002.     3) MIME-recognized file (gif, Postscript, ...):
  1003.        [include /path/to/file type encoding]. Examples:
  1004.            [include /path/to/file.gif image/gif base64]
  1005.            [include /path/to/file.ps application/postscript]
  1006.        See also MIME documentation.
  1007.  
  1008. 1.51    Which are the (s)ave abbreviations ?
  1009.  
  1010.     * David W. Tamkin (dattier@Mcs.NET):
  1011.     For saving to a folder, Copying to a folder, or changing folders
  1012.     [or naming a folder on the command line as an argument to Elm's -f
  1013.     option], Elm accepts several abbreviations:
  1014.  
  1015.     !        folder named in your $MAIL variable;
  1016.             default: your mail spool
  1017.     >        receivedmail folder named in your .elm/elmrc;
  1018.             default: $maildir/received
  1019.     <        sentmail folder named in your .elm/elmrc;
  1020.             default: $maildir/sent
  1021.     =filename    $maildir/filename
  1022.     +filename    $maildir/filename [useful on the shell command line,
  1023.             where an equal sign could confuse the shell]
  1024.     @aliasname    folder in your $maildir directory named for the real
  1025.             logname behind alias "aliasname"
  1026.  
  1027.  
  1028. 1.52    Why do I get "folder corrupt" messages ?
  1029.  
  1030.     * Peter Churchyard (pjc@cc.ic.ac.uk):
  1031.     If your folder (/usr/spool/mail/<login>) starts with a line of
  1032.     ^A^A^A^A  and not 'From username', then you need to configure
  1033.     Elm to use MMDF style message seperator lines.
  1034.  
  1035. 1.53    How to know how may news messages arrived, without entering Elm ?
  1036.  
  1037.     * Chip Rosenthal (chip@chinacat.unicom.com):
  1038.     frm -S -q -s new
  1039.  
  1040. 1.54    How not to display header when reading mail ?
  1041.  
  1042.     Use the weedout option in the elmrc file.
  1043.     You should find a line like this:
  1044.         ### weedout = "*end-of-user-headers*"
  1045.     Change it to:
  1046.         weedout = "Header-to-elimitate"
  1047.     To eliminate more than one header, add weedout lines as
  1048.     appropriate. In my elmrc file I have, for example:
  1049.         weedout = "X400-Received"
  1050.         weedout = "X400-Originator"
  1051.         weedout = "X400-Recipients"
  1052.         weedout = "X400-Mts-Identifier"
  1053.         weedout = "X400-Content-Type"
  1054.         weedout = "X-Vms-From"
  1055.         weedout = "X-Vms-To"
  1056.  
  1057. 1.55    Does Elm support headers within message body ?
  1058.  
  1059.     No, it doesn't.For example, you still need to specify
  1060.     "-s <subject> even if you're calling it with "-i <file>"
  1061.     and <file> contains the Subject header.
  1062.  
  1063. 1.56    How can I do <.....> with vi / my editor under Elm ?
  1064.  
  1065.     This is not an Elm question. Please refer to the appropriate
  1066.     manual / doc / FAQ / whatever.  I'm sorry, but should I give
  1067.     you answers on your editor, I'd end up writing a bad FAQ for
  1068.     your editor and a bad FAQ for Elm.
  1069.  
  1070. 1.57    How can I scroll backwards w/ builtin editor ?
  1071.  
  1072.     You can't.
  1073.     You can specify your favourite pager in your elmrc file
  1074.     ( ~/.elm/elmrc ) by adding a line like:
  1075.         pager = /usr/local/bin/less
  1076.  
  1077.     Should you choose "less", you can yse one of the following
  1078.     lines, from John Sturgeon <johns@nado.hp.com>:
  1079.  
  1080.     pager = less -cEw
  1081.     pager = less -C -e +Gg -P%f' ['%T'] ('%pb'\% ln '%lb/%L')'
  1082.     pager = less -cEw -e +Gg -P%f' ['%T'] ('%pb'\% ln '%lb/%L')'
  1083.  
  1084.     or these from Andrew Duchowski (andrewd@sematech.tamu.edu):
  1085.  
  1086.     pager = less -C -e +Gg -M
  1087.     pager = less
  1088.     -C -e +Gg -P?f%f:'stdin'.'--('?pb%pb:'0'.'\%'?lb' line '%lb.')--'
  1089.  
  1090.     (You will put this on a single line: I split it for formatting
  1091.     reasons).
  1092.  
  1093.     Remember to specify the full path to "less".
  1094.  
  1095. 1.58    How can I send the same message to a list of people ?
  1096.  
  1097.     There are 3 possible cases:
  1098.  
  1099.     1) You need to send a message to a huge list once in your life;
  1100.     2) You sometimes send to a huge list;
  1101.     3) You often / regularly send messages to a lot of people;
  1102.  
  1103.     1) type recipients' addresses by hand. If the list is really a
  1104.        long one, you can consider 2).
  1105.     2) if the list is static (i.e. you haven't to modify it each
  1106.        time), you can create aliases: simply press 'a' from the
  1107.        main menu, then follow the alias submenu help (really easy).
  1108.        Or you can use the 3rd method, which gives you more
  1109.        flexibility and (inmy opinion) ease-of-use;
  1110.     3) use the following script by John Woodburn (woodburn@indirect.com):
  1111.         #!/bin/sh
  1112.         file=/path/to/message
  1113.  
  1114.         read address
  1115.         while [ -n "${address}" ] ; do
  1116.             cat ${file} | /usr/bin/sendmail -oi -odb ${address}
  1117.             read address
  1118.         done
  1119.        The addresses' list is read from stdin, so you can store it in
  1120.        a file and run this srcipt, say "snd_msg" this way:
  1121.         snd_msg < /path/to/addresses/file
  1122.  
  1123.        If you want to use elm aliases in the file, you can substitute
  1124.        the line with "sendmail" in the script with:
  1125.         cat ${file} | /path/to/elm -s "subject" ${address}
  1126.  
  1127.     Another way to handle such mailings is to convince your system
  1128.     administrator to put a line like:
  1129.         foo    :include:/path/to/a/file
  1130.     in sendmail's system-wide aliases file, and give you write
  1131.     permission to this file. You can then use whatever mail program
  1132.     to mail to the list, and anybody sending a message to foo@your.site
  1133.     will reach the list.
  1134.  
  1135. 1.59    How can I resynchronize folder (deleting, etc) w/out exiting Elm ?
  1136.  
  1137.     From main menu, press '$'.
  1138.  
  1139. 1.60    error: Couldn't malloc 1769480335 bytes!!
  1140.  
  1141.     This  error  occurs  when  Elm tries to open $lib/aliases and the
  1142.     sytem-wide aliases file is not in the expected format.  For exam-
  1143.     ple,  if  you  installed  sendmail in /usr/local, its aliases are
  1144.     then kept in usr/locla/lib/aliases, the same path that's  default
  1145.     for Elm.
  1146.  
  1147.     * John Warburton <jwarb@SACBH.com.au>:
  1148.     I  fixed  the  problem  here by renaming the elm aliases files in
  1149.     hdrs/sysdefs.SH to have elm_ prefixed before the aliases:
  1150.  
  1151.     * Syd Weinstein <syd@Myxa.com>:
  1152.     (referred  to the above soution) ... that or just use a different
  1153.     $lib than /usr/local/lib, make it /usr/local/lib/elm.   In  addi-
  1154.     tion,  Elm 3.0 will rename the aliases file to avoid conflicts.
  1155.  
  1156. 1.61    Can I handle mailing to lists of people with Elm ?
  1157.  
  1158.     * Roman Czyborra <czyborra@cs.tu-berlin.de>:
  1159.     Let's  say  the you have a file named `recipients' that lists the
  1160.     email addresses of your recipients and  a  file  named  `message'
  1161.     that contains the text you want to send out.
  1162.  
  1163.     The  Elm  tool  to  handle that is Fastmail and you would call it
  1164.     like this:
  1165.  
  1166.     $ fastmail -b "`cat recipients`" -s subject message ""
  1167.  
  1168. 1.62    How can I put my folder in cronological order ?
  1169.  
  1170.     * John G Dobnick <jgd@alpha1.csd.uwm.edu>:
  1171.     If you simply want to *see* your messages in chronological order,
  1172.     then go to the O)ptions menu, select S)orting criteria, then  hit
  1173.     spacebar  until you see "Date Mail Rec'vd" or "Date Mail Sent" as
  1174.     you like.
  1175.  
  1176.     If  you also want to write your mailbox so that your messages ac-
  1177.     tually are in order, rather than appearing  to  be,  perform  the
  1178.     same steps as above, then tag all messages ('t') and save them to
  1179.     another file.  The contents of this new file will be in  the  de-
  1180.     sired order.
  1181.  
  1182. 1.63    Can I bounce e-mail from outside Elm ?
  1183.  
  1184.     * Chip Rosenthal <chip@chinacat.Unicom.COM>:
  1185.     Something like:
  1186.         $ readmsg <message_number> | rmail <recipient>
  1187.  
  1188.     might be what you are looking for.
  1189.  
  1190. 1.64    Can I associate a folder to an alias or to multiple senders ?
  1191.  
  1192.     * Chip Rosenthal <chip@chinacat.Unicom.COM>:
  1193.     The  canonical  trick to do this is to use a Unix link (the ln(1)
  1194.     command) and link the name Elm wants to use to the name you want.
  1195.  
  1196.     Be  forewarned  --  if  you  use this trick there is one thing to
  1197.     watch out for.  If you delete all  messages  from  one  of  these
  1198.     folders,  it might or might not work properly.  (On some systems,
  1199.     it leaves a zero-sized folder under all the names.  Under  others
  1200.     it simply deletes one of the links to the folder.  It depends up-
  1201.     on how Elm is configured.)
  1202.  
  1203.     * Sven Guckes <guckes@inf.fu-berlin.de>:
  1204.     Example:
  1205.  
  1206.     You  get  mail  from  "Joe  Miller" but he's using two accounts -
  1207.     "john@zuke.com" and "miller@mazola.com".
  1208.  
  1209.     Now make the folder "miller" be a link to "john":
  1210.  
  1211.     $ ln -s john miller
  1212.  
  1213.     Now  "miller" should point to "john".  Any mail saved to "miller"
  1214.     actually goes into "john".
  1215.  
  1216.     Disadvantages:   Any  other  guy  with  a  login  name  "john" or
  1217.     "miller" will be saved in that folder, too.  But that's an  over-
  1218.     all drawback, anyway.
  1219.  
  1220. 1.65    Is there a way to forward more than 1 mails in the same mail body ?
  1221.  
  1222.     * Sven Guckes <guckes@inf.fu-berlin.de>:
  1223.     Short answer:
  1224.     Send all mail to a folder, read them in from the editor.
  1225.  
  1226.     Longer answer:
  1227.     Save  all  mails to be forwarded to a file ("folder"), say "fwd".
  1228.     Start sending a mail to the person.  When in the editor, read  in
  1229.     that  folder  "fwd" to your temporary file.  Exit editor and send
  1230.     the whole thing as *one* mail.
  1231.  
  1232. 1.66    Can I know the path a mail took to reach destination ?
  1233.  
  1234.     This isn't an Elm question, but here is the answer:
  1235.  
  1236.     If  you're  receiving the message you want to trace, just hit 'h'
  1237.     to see all the headers, then look for 'Received:' headers. That's
  1238.     the path.
  1239.  
  1240.     If  you're sending a mail and you want to know what route it fol-
  1241.     lows, ask the recipient to mail your messages back to you.
  1242.  
  1243. 1.67    How do I import my unix mail aliases from .mailrc to Elm ?
  1244.  
  1245.     * Balaji <balaji@nexus.yorku.ca>:
  1246.     cat .mailrc | awk '{print $2 " = " $2 " = " $3}' > .elm/aliases.text
  1247.  
  1248.     ought  to  do it. You may want to edit the 2nd column by hand be-
  1249.     fore running newalias.
  1250.  
  1251. 1.68    Is there anything to make Elm work with SGI's Workspace ?
  1252.  
  1253.     * Dave Schweisguth <dcs@neutron.chem.yale.edu>:
  1254.     There  is  a  package  that  makes  Elm  work  nicely  with SGI's
  1255.     Workspace (graphical file manager) at:
  1256.  
  1257.     ftp://neutron.chem.yale.edu/pub/elm-ws-support.shar.
  1258.  
  1259.     People  FTP  it on a regular basis, and no-one has complained, so
  1260.     it must be more or less OK.
  1261.  
  1262.  
  1263. 2.0    Installation Answers
  1264. ----------------------------
  1265.  
  1266. 2.01    On SCO Xenix, all mail is from user anonymous. Why?
  1267.  
  1268.     From Elm README:
  1269.         On SCO Xenix, if you are all mail is from user anonymous,
  1270.     this is because the mail delivery agent should be
  1271.     /usr/lib/mail/execmail instead of /usr/bin/rmail or /bin/rmail.
  1272.  
  1273. 2.02    Elm doesn't work on Next. Why?
  1274.  
  1275.     The complete NeXT document by anderson@macc.wisc.edu is
  1276.     available via anon ftp from: yak.macc.wisc.edu [144.92.30.18]
  1277.     and ghost.dsi.unimi.it:/pub/Elm/Next.Z
  1278.  
  1279. 2.03    Compiling with Microsoft UNIX C Compilers won't work. Why?
  1280.  
  1281.     Thomas Bullinger (mrbulli@btoy1.rochester.ny.us):
  1282.     On many systems with the Microsoft UNIX C Compilers (such as SCO),
  1283.     compiling with optimization breaks the code.  One symptom is
  1284.     that aliases do not work.
  1285.     On those machines do not compile any of Elm with optimizations.
  1286.     To accomplish that, set all occurences of "OPTIMZE" in the
  1287.     makefiles to "-Od" - then it works.
  1288.  
  1289.     Another possibility is to use gcc instead (my current version [PL23]
  1290.     is compiled with gcc [2.4.5] on SCO Unix [3.2.2] without
  1291.     modifications and runs perfectly).
  1292. 2.04    Various problems on Unix 286.
  1293.  
  1294.     From Elm README:
  1295.         On some systems, especially those based on the AT&T Port to
  1296.     286's the -O flag of the compiler produces improper code causing
  1297.     segmentation violations.  If this happens, recompile the code without
  1298.     the -O flag.  This has been seen with Microport SysV/AT type systems.
  1299.  
  1300.         The Configuration script has been known to exceed the default
  1301.     stack size in Unix 286 sh's.  If Configure does not run correctly on
  1302.     this type of machine increase the stack size and rerun it.  On
  1303.     Microport SysV/AT machines, Configure might run correctly under ksh.
  1304.     Obtain ksh from Microport (available to current version owners without
  1305.     additional charge) and rerun Configure using it.
  1306.  
  1307.         Also on Microport SysV/AT Machines, the C compiler produces
  1308.     improper code for one of the arithmetic calls.  To fix this
  1309.     problem it is necessary to reduce the complexity of the
  1310.     statement, as reported by one of our testers here is the
  1311.     symptom and his patch.  Being this is a compiler bug on only
  1312.     one system, we make the information available, but not incorporate
  1313.     it in the main release.  Note, this may effect other areas
  1314.     of Elm, and in the future, Microport may even fix this problem.
  1315.     [Read the README file for the patches]
  1316.  
  1317. 2.05    Configure won't run on HP-UX. Why?
  1318.  
  1319.         From Elm README:
  1320.         The Configuration script has been known to exercise an old bug
  1321.     on HP-UX's version of /bin/sh.  This shows up as part of the variable
  1322.     setting section showing up on your screen, and configure aborting
  1323.     on errors.  If this happens, try using ksh instead of sh as in:
  1324.         ksh Configure
  1325.     this will usually solve the problem.
  1326.  
  1327. 2.06    Configure won't run on SCO XENIX 2.2.1. Why?
  1328.  
  1329.     Keith Brazington (keith@g4lzv.co.uk):
  1330.     The solution is simple, up the stack size for /bin/sh. I used 
  1331.  
  1332.     # mv /bin/sh /bin/sh.old
  1333.     # cp /bin/sh.old /bin/sh
  1334.     # fixhdr -F 8000 /bin/sh
  1335.      
  1336.     This may seem a bit over the top, but I put it back after!
  1337.  
  1338. 2.07    Will Elm work on SGI Indigo?
  1339.  
  1340.         Syd Weinstein (syd@Myxa.com):
  1341.     Well, I had no problems at all configuring and running Elm
  1342.     on my SGI Iris under 4.0.5.
  1343.     The biggie for SGI is to say Elm is a non ansi application,
  1344.     so you need to  list -cckr as an additional compilation flag.
  1345.     I took all the defaults from configure and it ran just fine.
  1346.  
  1347. 2.08    I have problems compiling elm2.4 on HP/Apollo
  1348.  
  1349.     * Gordon D. Berkley (gordonb@mcil.comm.mot.com):
  1350.     As of ELM2.4pl17, The system compiles cleanly (?) for Apollo.
  1351.     This patch level includes many "fixes" that I submitted to ensure
  1352.     this.  There *are* many compilor warnings, but they can safely
  1353.     be ignored.
  1354.  
  1355.     I would suggest discarding any config.sh from a previous Configure,
  1356.     though, as this will cause the corrections to NOT work.
  1357.  
  1358.     In order to ensure compilation, please be sure to compile
  1359.     with SYSTYPE set to "sys5" rather than "bsd".
  1360.  
  1361. 2.09    I have problems compiling elm2.4 on IBM AIX
  1362.  
  1363.     * Steve Adams (adams@spss.com):
  1364.     >I am trying to compile the latest and greatest version of ELM on my
  1365.     >RS/6000 running 3.2.? (exact level unclear). I received the following
  1366.     >error messages about setgid being redefined:
  1367.     >
  1368.     >"init.c", line 128.16: 1506-132 (S) Function getgid cannot be
  1369.     >redeclared.
  1370.     >"init.c", line 128.26: 1506-132 (S) Function getuid cannot be
  1371.     >redeclared.
  1372.  
  1373.     You can get around the problem defining -U__STR__ during 'Configure'
  1374.     It will be fixed in PL22.
  1375.  
  1376.     * From the monthly posting:
  1377.         This version of Elm 2.4 should not require any changes
  1378.         to the configure run to link under AIX 3.2 or newer.
  1379.     On IBM RISC 6000 AIX, prior to 3.2, you might get string
  1380.         function errors on the compile.
  1381.     The solution is to do the following:
  1382.  
  1383.     Look at /usr/lpp/bos/bsdsport. It tells you to add
  1384.     following lines to /etc/xlc.cfg:
  1385.         * BSD 4.3 c compiler stanza
  1386.         bsdcc:  use        = DEFLT
  1387.             crt        = /lib/crt0.o
  1388.             mcrt       = /lib/mcrt0.o
  1389.             gcrt       = /lib/gcrt0.o
  1390.             libraries  = -lbsd, -lc
  1391.             proflibs   = -L/lib/profiled,-L/usr/lib/profiled
  1392.             options    = -H512,-T512, -qlanglvl=extended, -qnoro,
  1393.                      -D_BSD, -D_NONSTD_TYPES, -D_NO
  1394.  
  1395.         And then link bsdcc to xlc and use bsdcc instead of cc.
  1396.  
  1397.     In addition, Elm should be linked with the curses lib
  1398.     and not termcap lib if /etc/termcap is not there.
  1399.     (You can always copy the termcap database to etc
  1400.     (or make a symlink)).
  1401.  
  1402. 2.10    Compiling elm 2.4 under NS 3.0
  1403.  
  1404.     Paul Terray (popaul@binkley.cs.mcgill.ca):
  1405.     Check if fcntl.h is included somewhere (as it probably is).
  1406.     It contains most of the declaration the program are looking for.
  1407.     If not, include it. Then, just comment the include line for unistd.h.
  1408.  
  1409. 2.11    Elm sends 'empty mail' on 386BSD: why?
  1410.  
  1411.     * From the monthly posting:
  1412.     On 386bsd, the shell that is shipped with the system,
  1413.     ash, does not work for sending messages within Elm.  Mail
  1414.     messages have headers only and no body.  Replacing the shell
  1415.     with bash (from GNU) seems to solve the problem.  The bash
  1416.     shell is in the 'etc' distribution of 386BSD.
  1417.  
  1418.     * If you upgrade to current version, this should happen no more.
  1419.  
  1420. 2.12    Why can't I get SGI to work for non ROOT?
  1421.  
  1422.         From the monthly posting:
  1423.         SGI, at 3.3, doesn't have vfork, but instead a stub that does
  1424.         not work.  Make sure vfork is undef in the configuration.
  1425.  
  1426. 2.13    I have problems p)rinting messages in 2.4PL20
  1427.  
  1428.     When I try and print a message, I get
  1429.     "readmsg: Cannot find start of selected message". Why?
  1430.  
  1431.     Chip Rosenthal (chip@chinacat.Unicom.COM):
  1432.     Please take a look at the From_ line of the message you are trying to
  1433.     print.  I'm going to guess that it has a complex address, maybe with
  1434.     some quoting or special characters, or maybe a strange date syntax.
  1435.  
  1436.     The utilities in the current Elm release (including `readmsg') use
  1437.     very simpleminded routines to crack the From_ lines.  Some headers
  1438.     that Elm handles fine confuse these utilities.  One of the larger
  1439.     changes in the next Elm update will be moving all of the From_ and
  1440.     ~Date: processing out of the main Elm code and into the library, so
  1441.     the utilities (including `readmsg') will use the same algorithms as
  1442.     Elm.
  1443.  
  1444.     If you look at the From_ line and it doesn't seem particularly
  1445.     unusual, feel free to drop me a line.  Most of the changes to
  1446.     readmsg and Elm printing came from my hands, and I'm working on
  1447.     the aforementioned changes too.  If there is something else broke
  1448.     in there, I'd be glad to look at it.
  1449.  
  1450. 2.14    Elm2.4 PL20 - 'x' key causes segmentation violation
  1451.  
  1452.     Nigel Metheringham (nigelm@ohm.york.ac.uk):
  1453.     in the file src/exitprog.c, there is a line
  1454.         char *msg, answer;
  1455.     replace it with
  1456.         char msg[SLEN], answer;
  1457.  
  1458. 2.15    readmsg:illegal option -- I. Why?
  1459.  
  1460.     Chip Rosenthal (chip@chinacat.Unicom.COM):
  1461.     It means you installed an updated `elm' binary but continue
  1462.     to use an old version of `readmsg'.
  1463.  
  1464. 2.16    Forms don't work. Why?
  1465.  
  1466.     Syd Weinstein (syd@Myxa.com):
  1467.     If you have `forms = ON' in elmrc, Forms is there, but
  1468.     the menu items to make a form require that user level
  1469.     be set off beginner.  (anything but 0 (beginner))
  1470.  
  1471. 2.17    ELM does not recognize VMS mail. Why?
  1472.  
  1473.     * This is fixed in Pl22.
  1474.     
  1475.     * Syd Weinstein (syd@Myxa.com):
  1476.     Looks to me like you found a bug in Elm's quote parsing routines.
  1477.     It just needs to be looked into.
  1478.  
  1479.     Reported from: Steen Hammerum (kel2sh@uts.uni-c.dk)
  1480.  
  1481. 2.18    Huge headers cause Memory Fault. Why?
  1482.  
  1483.     Syd Weinstein (syd@Myxa.com):
  1484.     Any part of Elm at the 2.x level will abort if given a header line
  1485.     that is too long.  It uses fixed length buffers, and at some point
  1486.     they overflow, and none too gracefully.
  1487.     3.x will support dynamic strings to solve this problem.
  1488.  
  1489. 2.19    Can I use elm for posting and replying to news?
  1490.  
  1491.         * Andreas Spiegl (spiegl@cs.utexas.edu):
  1492.         In order to set things up so elm is your mailer when you
  1493.         respond r or R to a news article in rn or trn, define an
  1494.         environment variable RNINIT that points to an initialization
  1495.         file for rn/trn. E.g. .rnrc
  1496.         Then put the following line in this file (.rnrc):
  1497.         -EMAILPOSTER="elm -i %h -s \"Re: %S\" %t"
  1498.         This is from now on telling rn to start elm with the appropriate
  1499.         parameters whenever you reply to an article and works great.
  1500.         But:  --> This is not for followup postings on the usenet! <--
  1501.         If you want to use elm in order to post article, you'd need a
  1502.         line with -ENEWSPOSTER instead of -EMAILPOSTER. Then you would
  1503.         tell elm (once it was evoked by rn/trn) that you want to send
  1504.         this to newsgroupname-with-dashes-instead-of-dots@cs.utexas.edu,
  1505.         for example use "comp-mail-misc@cs.utexas.edu". This will post
  1506.         your email message to the usenet.
  1507.         This is not very convenient though, as you have to convert the
  1508.         address manually. Unless you write a nice script for it, of course.
  1509.         Be sure to send me a copy if you do. :-)
  1510.  
  1511.         * Mike O'Connor (mjo@iao.ford.com):
  1512.         Of course, the DEC gateway allows one to gateway email to Usenet with
  1513.         email addresses of the following format:
  1514.         comp.mail.misc.usenet@decwrl.dec.com
  1515.         and has the additional advantage that they carry a LOT of the regional
  1516.         newsgroups.
  1517.         I still think piping it to sendmail with a macro for R is the way to
  1518.         go.  This allows you to use the mailer of your choice, be it elm or
  1519.         pine or Berkeley Mail or Z-Mail or whatever.  This gets it into your
  1520.         /usr/spool/mail or /usr/mail or /var/mail or wherever.
  1521.         
  1522.     * Robert Nicholson (robert@steffi.demon.co.uk)
  1523.     The objective was to be able to use elm for all news contributions,
  1524.     reply/followup.  This way I can then store my postings and replies
  1525.     in =sent or filter based on Subject: and store them in a separate
  1526.     folder.
  1527.  
  1528.     For Replies I added the following to .zshenv:
  1529.     export MAILPOSTER="elm -i %h -s \"Re: %S\" %t"
  1530.  
  1531.     This invokes elm for replies within trn.
  1532.  
  1533.     For Followups it's a bit more involved.
  1534.     Now I didn't like the idea of relying on mail2news gateways in order
  1535.     to post news.  So I chose to set up an alias to handle postings:
  1536.     export NEWSPOSTER="elm -i %h -s \"Usenet News Post\n\n\" usenetnews"
  1537.  
  1538.     The postings go to the usenetnews (as opposed to usenet) alias.
  1539.     This gets processed in procmail thus.
  1540.  
  1541.     :0b
  1542.     * ^TOusenetnews
  1543.     | sed -n '/Newsgroups/,$p' | /usr/local/news/inews -h
  1544.  
  1545. 2.20    Compile fails on lib/strftime.c [PL23].
  1546.  
  1547.     * Chip Rosenthal (chip@chinacat.Unicom.COM):
  1548.     A bug was introduced at PL23 that causes the compile to fail on
  1549.     pre-ANSI systems.  Change line 114 from "# define P_(x) /**/"
  1550.     to "# define P_(x) ()".
  1551.  
  1552. 2.21    Compile error on SGI Crimson.
  1553.  
  1554.     Error:
  1555.         cc  -O -I../hdrs    -c opt_utils.c
  1556.     accom: Warning 294: opt_utils.c, line 171:
  1557.     Function getpwuid has prototyped and non-prototyped declarations.
  1558.     Default promotion of non-prototype form of argument 1 does not
  1559.     match prototype:
  1560.     prototype:  unsigned short is different from actual:  int
  1561.  
  1562.     * Spencer Sun (spencer@der.Princeton.EDU):
  1563.     in Configure, tell it to use the -cckr flag for cc.
  1564.  
  1565. 2.22    Problem compiling elm on DEC Alpha, OSF/1 v.1.2
  1566.  
  1567.     Error:
  1568.     getarpdate.c, line 110: redeclaration of 'timezone';
  1569.  
  1570.     * Eiji Hirai (hirai@cc.swarthmore.edu):
  1571.     This is fixed in elm 2.4p23 ; I think By the way, you
  1572.     should most definitely upgrade to DEC OSF/1 1.3.
  1573.     It fixes a tremendous number of bugs from 1.2.  Do it NOW!  :-)
  1574.  
  1575. 2.23    I can't build Elm 2.4PL23 on Sun 386i SunOS 4.0.2
  1576.  
  1577.     * Sydney Weinstein (syd@Myxa.com):
  1578.     known bug, will be fixed in Patch 24, but its an easy one:
  1579.     in lib/strftime.c, there is a bug in the prototyping macro, it
  1580.     currently reads:
  1581.     #if ANSI_C
  1582.     # define P_(x) x
  1583.     #else
  1584.     # define P_(x) /**/
  1585.     # define const  /**/
  1586.     #endif
  1587.  
  1588.     and the relevant line needs to read
  1589.     # define P_(x) (/**/)
  1590.  
  1591.     thats it.
  1592.  
  1593. 2.24    How can I override a Configure's setup ?
  1594.  
  1595.     If you know what Configure makes wrong before running it, then create
  1596.     a file "config.over" with your own choices.
  1597.     If you don't know it, manually edit Configure output.
  1598.  
  1599. 2.25    How to solve hdrs/mcprt.h problems with Sequent/PTX 2 ?
  1600.  
  1601.     Alan Thew (Alan.Thew@liverpool.ac.uk) reports the following:
  1602.     >PTX 2.0x does not like the code in this header file.
  1603.     >
  1604.     >       cc -Xo  -O -I../hdrs    -c mcprt.c
  1605.     >"../hdrs/mcprt.h", line        52: syntax error
  1606.     >"../hdrs/mcprt.h", line        53: syntax error
  1607.     >"../hdrs/mcprt.h", line        53: incomplete or misplaced function definition
  1608.  
  1609.     >extern int             MCprintf(char *fmt, ...);  <-----
  1610.  
  1611.     * Chip Rosenthal (chip@chinacat.Unicom.COM) says:
  1612.     The first question is does your system truly support the ANSI
  1613.     <stdarg.h> facility, or does it use the traditional Unix <varargs.h>?
  1614.  
  1615.     If the first case is true, then your compiler has botched the
  1616.     implementation for specifying prototypes for variable-argument
  1617.     procedures.  It's possible.  I know of at least one compiler that was
  1618.     done while the ANSI spec was still in development, and used an
  1619.     unadorned comma at the end of the parameter list to prototype varargs
  1620.     routines.
  1621.  
  1622.     In this case, you'll need to edit the function declarations in mcprt.h
  1623.     Maybe just deleting the "..." ellipses will work.  (It would with the
  1624.     aforementioned compiler.)  Maybe you'll have to scrap the prototype
  1625.     by removing everything between the parens.
  1626.  
  1627.     If the second case is true, then Configure made a boo-boo.  It saw a
  1628.     <stdarg.h> file and decided to use that.  If this was the wrong thing
  1629.     to do, then you can override Configure by creating a file called
  1630.     "config.over" with a single line saying:
  1631.  
  1632.         i_stdarg='undef'
  1633.  
  1634.     Then run "Configure -d" to rebuild things and re-make.
  1635.  
  1636.     * I'll give you the right answer as soon as Alan Thew will tell me
  1637.     how did he solve this problem.
  1638.  
  1639.  
  1640. 3.0    Filter Answers
  1641. ----------------------
  1642.  
  1643.     This part is maintained by Jan Djarv (Jan.Djarv@sa.erisoft.se)
  1644.  
  1645. 3.01    What documentation exists for filter?
  1646.  
  1647.     Besides the man-page (which is rather brief) there is the
  1648.     `Elm Filter System Guide' (doc/Filter.guid in the elm distribution).
  1649.     A PostScript version is available on dsinc.Myxa.com. 
  1650.  
  1651. 3.02    What do I need to get filter working?
  1652.  
  1653.     You need a MTA (Mail Transport Agent) that reads .forward files
  1654.     AND let's you mail to a program.
  1655.  
  1656.     A .forward file is put in your home directory, where it is read
  1657.     by your MTA. It is here you tell your MTA to pipe the messages
  1658.     to filter instead of putting it in your mailbox.
  1659.  
  1660. 3.03    How can I tell if my system understands .forward files?
  1661.  
  1662.     This usually works:
  1663.     Make a .forward file in your home directory with the following
  1664.     contents:
  1665.  
  1666.     \userid, "|/bin/cat - > /your/home/directory/forward.test 2>&1"
  1667.  
  1668.     where userid is your username and /your/home/directory is the
  1669.     full path to your home directory. The \ is there to avoid
  1670.     infinite recursion (i.e. if it wasn't there, the MTA would read
  1671.     your .forward again, and see userid a second time, and read your
  1672.     .forward again and on and on ...)
  1673.  
  1674.     Then mail yourself a message. If all goes well you should have
  1675.     1. A message in your incoming mailbox.
  1676.     2. A file forward.test that contains the same message as in 1.
  1677.  
  1678.     If you get 1 but not 2, it is possible that your MTA doesn't
  1679.     support mailing to programs. Take it up with your system
  1680.     administrator.  It might also be the case that your MTA has another
  1681.     syntax for mailing to programs.
  1682.  
  1683. 3.04    What do I put in my .forward file?
  1684.  
  1685.     "|/full/path/to/filter -vo /some/unique/file"
  1686.  
  1687.     (note the placements of the quotes, this is for sendmail at least,
  1688.     there are possibly other MTA:s out there that want's it different.
  1689.     Try finding a manual if the above doesn't work).
  1690.  
  1691.     Always use the full path to filter. Your MTA probably has a
  1692.     different PATH than the one you have.
  1693.  
  1694.     Also you should personalize your line by for instance
  1695.     redirect the errors of filter (that's what -o does, -v just makes
  1696.     the errors a bit more verbose) to a file that is unique on
  1697.     your system. /tmp/filter.userid (userid == your user name) usually
  1698.     does it.
  1699.  
  1700.     * Syd Weinstein (syd@Myxa.com)
  1701.     explains why your line should be personalized:
  1702.  
  1703.     Its not a bug, but a feature of sendmail. Sendmail prevents duplicate
  1704.     deliveries to addresses, so a message sent to "a, b, a, b, c"
  1705.     would be delivered to "a, b, c", but only one copy to a and b.
  1706.     Sendmail does this by sorting and 'uniq'ing the list of addresses.
  1707.     If two people's filter invocations in the .forward file match,
  1708.     sendmail will gladly coallese these down to one as a duplicate
  1709.     delivery address, and the result is exactly what you describe.
  1710.  
  1711.     Just get everyone to make their .forward line personal (add a unique
  1712.     -o file perhaps) and all will work ok.
  1713.  
  1714.     * John Walder (walder@alexia.lis.uiuc.edu ):
  1715.  
  1716.     If you have the source code for sendmail, try the following patch to
  1717.     the sameaddr() function in the file src/parseaddr.c.  It still
  1718.     eliminates duplicate recipients but not duplicate programs (filters).
  1719.     This solution is more elegant than continually fixing .forward files.
  1720.  
  1721.     ---------------------------------------------------------------------
  1722.  
  1723.     *** parseaddr.c-    Tue May  4 10:55:42 1993
  1724.     --- parseaddr.c    Tue May  4 11:42:52 1993
  1725.     ***************
  1726.     *** 1525,1530 ****
  1727.     --- 1525,1538 ----
  1728.         if (a->q_mailer != b->q_mailer)
  1729.             return (FALSE);
  1730.     
  1731.     +    /* -- 05/04/93 jdw  LOCAL CHANGE
  1732.     +        Allow recipients to forward to the same program/filter!
  1733.     +        Have same mailer, so check for delivery to a program
  1734.     +    */
  1735.     +    /* fprintf(stderr, "sameaddr(%s,%s)\n", a->q_user, b->q_user); */
  1736.     +     if (a->q_mailer == ProgMailer)
  1737.     +         return (FALSE);
  1738.     +    /* -- End LOCAL CHANGE */
  1739.     + 
  1740.         /* if the user isn't the same, we can drop out */
  1741.         if (strcasecmp(a->q_user, b->q_user))
  1742.             return (FALSE);
  1743.  
  1744. 3.05    What is the simples filter-rules file I can write to test filter?
  1745.  
  1746.     Well, the simplest is:
  1747.  
  1748.     always leave
  1749.  
  1750.     which tells filter that it should always put the messages into your
  1751.     default mailbox.
  1752.     A more interesting example would be:
  1753.  
  1754.     if (subject contains "filter-test") then save "~/filter-folder"
  1755.       
  1756.     which tells filter to save all messages with a Subject: field that
  1757.     contains filter-test into the file filter-folder in your home
  1758.     directory.
  1759.     All other messages will be put into your normal incoming mailbox,
  1760.     since that is filters default rule if no other match.
  1761.     You can then look at the messages in filter-folder with elm
  1762.     (elm -f ~/filter-folder).
  1763.  
  1764. 3.06    How do I check my filter-rules for typos and other errors?
  1765.  
  1766.     Run 'filter -r'. See also the next question.
  1767.  
  1768. 3.07    Why doesn't the output from filter -r match my filter-rules file?
  1769.  
  1770.     Filter reads the rules and converts them to an internal format. When
  1771.     it writes them out again, it writes them in a canonical format.
  1772.  
  1773.     This is due to the fact that filter has a loose input syntax.
  1774.  
  1775.     Each rule is turned into an 'if (...) then ...'.
  1776.  
  1777.     The following words are translated:
  1778.  
  1779.     contains    becomes        =
  1780.     &&        becomes        and
  1781.     then        becomes        ?
  1782.     matches        becomes        ~
  1783.  
  1784. 3.08    Can I have 'or' in my filter-rules?
  1785.  
  1786.     No, filter can't deal with that. Or is implemented by writing another
  1787.     rule below the one you want to 'or' with.
  1788.  
  1789. 3.09    Can I make filter execute more than one rule for a message?
  1790.  
  1791.     No. As soon filter find's one applicable rule, it executes that one
  1792.     and exits.
  1793.  
  1794. 3.10    How do I do multiple actions for one rule?
  1795.  
  1796.     You can't do that directly in the filter-rules file. You have to
  1797.     write a shell script or program that does what you want, and then call
  1798.     it with the execute or executec action.
  1799.  
  1800. 3.11    What headers are available in the filter-rules?
  1801.  
  1802.     From, To, and Subject.
  1803.  
  1804.     If you answered yes to Configure when it asked "Does your site
  1805.     receive e-mail with valid "Reply-To:" and "From:" fields?", the
  1806.     From field will be the From: header, or the Reply-To: header if
  1807.     one is available (Reply-To: supersedes From:).
  1808.  
  1809.     If you answered no, the From line is the From_ header.
  1810.  
  1811.         The To field is the concatenation of the To:, Apparently-To:
  1812.     and the Cc: headers.
  1813.  
  1814. 3.12    How do I forward mail to an elm alias from filter?
  1815.  
  1816.     Let's say you want to do
  1817.  
  1818.     if (subject = hello) forward "mail-alias"
  1819.  
  1820.     where mail-alias is an alias you have defined in elm.
  1821.     The sad part is that filter doesn't know about elm aliases.
  1822.     You have to do something like this:
  1823.  
  1824.     if (subject = hello) executec "/full/path/to/elm -s '%s' mail-alias"
  1825.  
  1826. 3.13    Filter executes my script but the script doesn't work.
  1827.     It does work if I run it prom my shell prompt. Why?
  1828.  
  1829.     Never assume that the script filter executes has the same PATH that
  1830.     you have when logged in.
  1831.  
  1832.     Always set the PATH explicitly at the beginning of your script.
  1833.  
  1834. 3.14    How do I capture the message fed to a script by execute/executec
  1835.     for later processing?
  1836.  
  1837.     At the start of your script:
  1838.  
  1839.     /bin/cat - > /tmp/mail$$
  1840.  
  1841.     Then you can grep, and examine /tmp/mail$$ as you would an ordinary
  1842.     file. Don't forget to remove /tmp/mail$$ if you don't need it
  1843.     afterwards.
  1844.  
  1845. 3.15    Both execute and executec feeds the message as standard input to
  1846.     the script. But what if I don't need it?
  1847.  
  1848.     Just ignore it.
  1849.  
  1850. 3.16    What if I what to do something based on the contents of a message
  1851.     (i.e not the headers), or based on some header not available in filter?
  1852.  
  1853.     Feed the message to a script using execute/executec, save it
  1854.     and do your stuff in the script.
  1855.  
  1856. 3.17    How can I make filter operate on all messages in a folder?
  1857.  
  1858.     You  can't  directly,  but you can make a little script that does
  1859.     the job:
  1860.  
  1861.         #!/bin/sh
  1862.  
  1863.         frm -n $1 |
  1864.         while read no rest
  1865.         do
  1866.             no=`echo $no|sed 's/[^0-9]//g'`
  1867.             readmsg -h ${1:+"-f$1"} $no        \
  1868.                 | filter -vo /what/usually/goes/here
  1869.         done
  1870.  
  1871.     Start the script with the folder name as argument.
  1872.  
  1873.     NOTE:  this script is an example, and doesn't work on empty fold-
  1874.     ers.  If your filter rules try and put something into the  folder
  1875.     the script  is currently operating on, disaster occurs.
  1876.  
  1877. 3.18    Can I use filter to automatically answer my mail (like vacation)?
  1878.  
  1879.     If you are on vacation you might do something like this:
  1880.     In your filter-rules:
  1881.  
  1882.     always executec "/path/to/vac.script %s %r"
  1883.  
  1884.     In vac.script:
  1885.     --
  1886.     #!/bin/sh
  1887.     PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin
  1888.     export PATH # Make sure that the PATH above includes elm
  1889.     elm -s "Re: $1" $2 <<EOM
  1890.  
  1891.     Hi.
  1892.  
  1893.     I got your message about "$1". Im not in now but will get
  1894.     back to you as soon as I'm back.
  1895.  
  1896.     EOM
  1897.     --
  1898.  
  1899.     You can also execute "vacation" if you have it.
  1900.  
  1901. 3.19    My filter doesn't recognize executec/matches.
  1902.  
  1903.     Executec and matches was added in Elm 2.4 PL11.
  1904.     Try getting a newer Elm.
  1905.  
  1906. 3.20    Filter sometimes munges up my folders, or looses messages. Why?
  1907.  
  1908.     If  two instances of filter are running at the same time, and are
  1909.     operating on the same folder, you get this effect. Filter doesn't
  1910.     lock  your  private folders (i.e not incoming folder), so the two
  1911.     instances will never know that there is someone else operating on
  1912.     the same folder.
  1913.  
  1914.     See also bug: UB13.
  1915.  
  1916. 3.21    Why doesn't elm mark mail I saved in a folder with filter as new (N)?
  1917.  
  1918.     * Elm does only mark new messages as new in your incoming folder.
  1919.     Sometimes you want it that way, sometimes you don't.
  1920.     If you are sure you want new messages to be marked as such in
  1921.     any folder, you need to edit the source for Elm, and recompile.
  1922.  
  1923.     Search for these lines in src/newmbox.c:
  1924.         if(folder_type == SPOOL)
  1925.           current_header->status = VISIBLE | NEW | UNREAD;
  1926.         else
  1927.           current_header->status = VISIBLE;
  1928.  
  1929.     and change them to:
  1930.         current_header->status = VISIBLE | NEW | UNREAD;
  1931.  
  1932.     * Jennifer Myers (jmyers@eecs.nwu.edu):
  1933.     You should also modify the code for 'frm' and 'nfrm', so that those
  1934.     utilities will recognize new mail in the users's mail folders.
  1935.     In utils/from.c, the following code appears twice:
  1936.  
  1937.     if (user_mailbox)
  1938.         status = NEW_MSG;
  1939.     else
  1940.         status = READ_MSG;
  1941.  
  1942.     Change both occurrences of the above lines to:
  1943.  
  1944.     /* if no Status header, assume NEW_MSG */
  1945.     status = NEW_MSG;
  1946.  
  1947.     * William Pemberton (wfp5p@holmes.acc.Virginia.EDU) also wrote
  1948.     a set of patches to do this.
  1949.  
  1950. 3.22    Why does filter join adjacent messages together?
  1951.  
  1952.     * Aidan M Corey (jo95005@oxford.ac.uk):
  1953.     The  first  line in a piece of mail is a From_ line; this is used
  1954.     by Elm to tell where one message in the mailbox ends  and  a  new
  1955.     one  starts.   Unfortunately,  on some systems this line is lost.
  1956.     If the first message in the mailbox went through filter, Elm will
  1957.     refuse to run, saying that the mailbox is corrupt.  If a filtered
  1958.     message follows another message, Elm will  interpret  them  as  a
  1959.     single message.
  1960.  
  1961.     A patch for this is to have a .forward containing:
  1962.  
  1963.     "|/full/path/to/mailkludge"
  1964.  
  1965.     where mailkludge is a world-executable file containing:
  1966.  
  1967.         #!/bin/sh
  1968.         (echo From fubar `date`;cat) | /full/path/to/filter
  1969.         exit 0
  1970.  
  1971.     If  you  have  sendmail it may be that it is configured to remove
  1972.     From_ lines. Some sendmails have an f option that can be  set  in
  1973.     the sendmail.cf file:
  1974.  
  1975.         # Save those UN*X From_ lines
  1976.         Of
  1977.  
  1978.     Others require you to define a variable called l:
  1979.  
  1980.         # UNIX header format
  1981.         DlFrom $g  $d
  1982.  
  1983.     Then  there  is the mailer flags. There is one flag, n, that when
  1984.     set will not insert the From header. I.e. this mailer  spec  will
  1985.     keep the From headers:
  1986.  
  1987.         Mether, P=[TCP], F=msDFMuCX, S=11, R=21, A=TCP $h
  1988.  
  1989.     but this will not:
  1990.  
  1991.         Mether, P=[TCP], F=nmsDFMuCX, S=11, R=21, A=TCP $h
  1992.  
  1993.     (the diff is in the F= spec).
  1994.  
  1995. 3.23    What other mail filter programs exists?
  1996.  
  1997.     Filter is a very simple program and has limitations.
  1998.     If you have something complicated you want to do,
  1999.     and it is difficult to do with Filter, you should check out the
  2000.     more powerful alternatives: deliver, procmail or mailagent.
  2001.  
  2002.     More info on these can be found in the UNIX Email Software Survey FAQ
  2003.     (see news.answers or comp.mail.misc).
  2004.  
  2005. 3.24    554 "|/usr/local/bin/filter"... unknown mailer error
  2006.  
  2007.     This happens if your system administrator disabled the pipe
  2008.     inside sendmail. It is due to a security hole in sendmail.
  2009.     Check CERT advisories to know more on this.
  2010. 3.25    My filter doesn't work. I set it up correctly, but nothing happens.
  2011.  
  2012.     Sendmail has a security hole which fix may cause pipe in .forward
  2013.     to be ignored. This isn't the correct fix to the hole, but is the
  2014.     most secure. Check with your system administartor.
  2015.  
  2016.     * from Jack Moskowitz (jackm@qa.pica.army.mil):
  2017.     Moreover, some versions of sendmail have another bug, which will
  2018.     cause mail addresses to be ignored if two addressees have the same
  2019.     entries in thier .forward files. This is to inhibit multiple
  2020.     delivery to the same address.  The problem is that sendmail makes
  2021.     no distinction about addresses and "| program".
  2022.  
  2023.     * from David W. Tamkin (dattier@Mcs.NET):
  2024.     The easy solution is to put your own logname as a comment in the
  2025.     pipe, like this:
  2026.         "| /path/to/filter # jackm"
  2027.     sendmail will think that that's different from
  2028.         "| /path/to/filter # bigboss"
  2029.     and will deliver to both addressees.
  2030.  
  2031. 3.26    How to (b)ounce from filter, instead of (f)orwarding ?
  2032.  
  2033.     When forwarding mail thru filter, the forwarded message appears
  2034.     from "Filter of <myself>" instead of the actual sender. How to
  2035.     avoid this ?
  2036.  
  2037.     * Aidan Corey (Aidan.Corey@sjc.ox.ac.uk):
  2038.     After some experimentation, I arrived at:
  2039.       if (condition) then execute
  2040.               "/usr/lib/sendmail -oi -odq your@other.address"
  2041.  
  2042.     If your system doesn't use sendmail, you would need to modify this.
  2043.     If it does, read man sendmail for the meanings of the switches I used.
  2044.  
  2045. 3.27    If I use filter, all incoming mail disappears. Why ?
  2046.  
  2047.     Newer versions of sendmail fix a security hole by not allowing
  2048.     piping a message to a program. Sendmail's configuration changed
  2049.     a bit, also, and it's possible that your local Postmaster didn't
  2050.     configure it properly. If it's so, there's no wy getting sendmail
  2051.     using filter. Check with your Postmaster.
  2052.  
  2053. 3.28    I use filter and MMDF and have some problems.
  2054.  
  2055.     Filter  doesn't  know how to handle MMDF style mailboxes. It will
  2056.     corrupt the folder.
  2057.  
  2058.  
  2059. 4.0     Bugs list
  2060.  
  2061.     This list is the bug list from the Elm monthly posting.
  2062.  
  2063.     Known bugs in Elm 2.4 PL21:
  2064.         The following are from the Elm 2.4 "To.Do" list that are
  2065.     considered bugs, not enhancements, that have not yet been done.
  2066.     Items which are enhancements are not listed here.  It is our
  2067.     intention to release changes to 2.4 for some, but not necessarly all
  2068.     of these.  Some of these will only be fixed in 3.0.  (It depends on
  2069.     how extensive the change is to fix it, and what else it ties into
  2070.     in the 3.0 work).
  2071.  
  2072.     Items marked fixed will be deleted from the list on the next posting.
  2073.     Database last updated on Friday 12-February-93  9:45:34 +0000 (GMT)
  2074.  
  2075.  
  2076.     General bugs and configuration bugs
  2077.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2078.  
  2079.     GB01  Version:     2.4PL0           Status:     Open
  2080.           Open Date:   1-Oct-92         Close Date:
  2081.           Reported by: Elm Development Group <elm@Myxa.com>
  2082.           Summary:     Configuration questions need rearranging
  2083.           Description:
  2084.           The ordering of some sets of configuration questions could
  2085.           be improved.  In some cases, the answer to a later question
  2086.           renders an earlier question moot.  In such cases, the latter
  2087.           should proceed the former so that the former would only be
  2088.           asked if need be.  This occurs with many of the configuration
  2089.           questions that deal with the domain routing and pathalias
  2090.           databases, appending the hostname and internet address style,
  2091.           etc.
  2092.  
  2093.     GB02  Version:     2.4PL0           Status:     Open
  2094.           Open Date:   1-Oct-92         Close Date:
  2095.           Reported by: Elm Development Group <elm@Myxa.com>
  2096.           Summary:     User id & mailbox algorithm should be consistant.
  2097.           Description:
  2098.           All programs need to use the same algorithm elm(1) and frm(1)
  2099.           use in establishing the user's id and the user's incoming
  2100.           mailbox.
  2101.  
  2102.  
  2103.     Elm(1) bugs
  2104.     ~~~~~~~~~~~
  2105.  
  2106.     EB02  Version:     2.4PL0           Status:     Open
  2107.           Open Date:   1-Oct-92         Close Date:
  2108.           Reported by: Elm Development Group <elm@Myxa.com>
  2109.           Summary:     Encryption is not fully implemented in ELM.
  2110.           Description:
  2111.           In elm(1) we have the following problems:
  2112.  
  2113.           When `b' (bouncing) a message or `f' (forwarding) a message
  2114.           without editing, an encrypted section of text in the original
  2115.           message wrongly gets encrypted a second time. The function
  2116.           that looks for encryption delimiters needs to know to ignore
  2117.           them in these situations.
  2118.  
  2119.           When `p' (printing) or `|' (piping) a message, an encrypted
  2120.           message does not get decrypted. This is because elm(1)
  2121.           invokes readmsg(1) to pull the message out of the folder and
  2122.           readmsg(1) does not deal with encryption at all.
  2123.  
  2124.           Even if we gave readmsg(1) the ability to decrypt messages,
  2125.           we'd still have problems because readmsg itself would have to
  2126.           prompt for the decryption key.
  2127.  
  2128.           Now if we were printing or piping a set of tagged messages,
  2129.           readmsg(1) would have to prompt for decryption keys for each
  2130.           message individually. In doing that readmsg(1) would have to
  2131.           indicate which message of the set it was working on.
  2132.  
  2133.           This would be difficult since readmsg(1) uses actual ordinal
  2134.           message position in the folder, and that would be confusing
  2135.           if the user has folders sorted in other than mailbox order:
  2136.           the message numbers wouldn't match up. The solution therefore
  2137.           involves replacing readmsg(1) with a new function in elm(1)
  2138.           to handle the `p' or `|' commands, and this function would
  2139.           need to detect the encryption delimiters and prompt for the
  2140.           decryption key. Furthermore, readmsg(1) should get enhanced
  2141.           to deal with encrypted text, or else carry a disclaimer
  2142.           that it doesn't work on encrypted text.
  2143.  
  2144.           When including the text of an original message for a `r'
  2145.           (reply) or `f' (forward), encrypted sections do not get
  2146.           decrypted first, resulting in decrypted text inside the
  2147.           include text. This means that the elm(1) function that
  2148.           includes text of an original message must detect encryption
  2149.           delimiters and decrypt encrypted text before including it
  2150.           in a reply or forwarded message.
  2151.  
  2152.     EB26  Version:     2.4PL0           Status:     Open
  2153.           Open Date:   1-Oct-92         Close Date:
  2154.           Reported by: Elm Development Group <elm@Myxa.com>
  2155.           Summary:     Addresses "node!user@domain" not handled as RFC976
  2156.           Description:
  2157.           When using an address of the form "node!user@domain" and
  2158.           having Elm convert it to an all ! address, RFC976 states that
  2159.           the proper address should be domain!node!user, but Elm
  2160.           translates that to node!domain!user.
  2161.  
  2162.     EB36  Version:     2.4PL0           Status:     Open
  2163.           Open Date:   1-Oct-92         Close Date:
  2164.           Reported by: Elm Development Group <elm@Myxa.com>
  2165.           Summary:     Sometimes user name is added into full name field
  2166.           Description:
  2167.           When Elm is configured not to look at the password file for
  2168.           full name information, it sometimes places the user name in
  2169.           ()s as the comment in addition to the full name.
  2170.  
  2171.     EB41  Version:     2.3PL11          Status:     Closed
  2172.           Open Date:   2-Dec-92         Close Date: 19-Sep-93
  2173.           Reported by: rp@mis29.cypress.com (Rob Price)
  2174.           Summary:     Incoming mail incorrectly handled in subset mode.
  2175.           Description:
  2176.           If a subset of mail is displayed using the "l" command, new
  2177.           incoming mail is displayed with the subset mail.  However the
  2178.           mail count at the top of the screen is not updated, and the
  2179.           final few items (ie those numerically after the number of
  2180.           messages shown) cannot be selected by the cursor keys.
  2181.  
  2182.           We implimented a 'quick' fix to close this one out.  In that
  2183.           new mail is added to the subset, and not filtered by the
  2184.           current restriction.
  2185.  
  2186.     EB45  Version:     2.4devPL65       Status:     Open
  2187.           Open Date:   2-Dec-92         Close Date:
  2188.           Reported by: jgreco@solaria.mil.wi.us (Joe Greco)
  2189.           Summary:     Incoming messages can confuse index screen display.
  2190.           Description:
  2191.           Elm can lose track of incoming (new) messages so that
  2192.           although the number of messages at the top of the screen is
  2193.           correct, the new messages are not displayed on the index
  2194.           page.  However these messages can be accessed in the normal
  2195.           way, they just aren't listed in the index.  Redrawing the
  2196.           screen restores things to normal.
  2197.  
  2198.     EB48  Version:     2.4PL20          Status:     Open
  2199.           Open Date:   4-Jan-93         Close Date:
  2200.           Reported by: jason@Germany.Sun.COM
  2201.           Summary:     Empty Reply-To: header prevents reply including
  2202.                original text
  2203.           Description:
  2204.           When the received Mail has an empty "Reply-To: " entry in the
  2205.           header, it is not possible to reply to the mail including the
  2206.           text,  Elm simply doesn't ask to include the text (or if
  2207.           autocopy is set then no text is included).
  2208.  
  2209.     EB50  Version:     2.4PL17          Status:     Open
  2210.           Open Date:   30-Dec-1992      Close Date:
  2211.           Reported by: weisen@alw.nih.gov (Neil Weisenfeld)
  2212.           Summary:     Elm incorrectly displays folder name on index page
  2213.           Description:
  2214.           My main mail directory is "~/Mail", but I also keep some
  2215.           stuff in another directory "~/MailDelivery".  The bug that
  2216.           I came across is when I change to the folder
  2217.           "~/MailDelivery/xxx", it prints the current folder name as
  2218.           "=Delivery/xxx"
  2219.  
  2220.     EB52  Version:     2.4PL20          Status:     Open
  2221.           Open Date:   7-Jan-93         Close Date:
  2222.           Reported by: steve@avalon.dartmouth.edu (Steve Campbell)
  2223.           Summary:     Suspend/resume does not return you to builtin editor.
  2224.           Description:
  2225.           If elm is suspended (ie ^Z in csh), when composing a message
  2226.           in the builtin editor, a resume (fg in csh) brings you back
  2227.           in at the send/edit/forget set of prompts.
  2228.  
  2229.     EB53  Version:     2.4PL20          Status:     Closed
  2230.           Open Date:   7-Jan-93         Close Date: ?-93
  2231.           Reported by: robert.howard@matd.gatech.edu
  2232.           Summary:     Change alias can list names incorrectly.
  2233.           Description:
  2234.           Using the new (C)hange Alias in the alias screen, the first
  2235.           name and the last name are displayed as the same thing (the
  2236.           entire string).
  2237.  
  2238.           [Comment from Dev team] This is a feature not a bug.  This
  2239.           occurs for entries that weren't  set up as Howard; Robert in
  2240.           the text file (entry was still the  old way, Robert Howard).
  2241.           Thus you get the whole thing both times so you can delete
  2242.           what you don't want.
  2243.  
  2244.  
  2245.     Utilities bugs
  2246.     ~~~~~~~~~~~~~~
  2247.  
  2248.     UB02  Version:     2.4PL0           Status:     Open
  2249.           Open Date:   1-Oct-92         Close Date:
  2250.           Reported by: Elm Development Group <elm@Myxa.com>
  2251.           Summary:     Newmail cannot handle null From: headers.
  2252.           Description:
  2253.           Newmail(1) displays a null "From" when a message does not
  2254.           contain a From: header line. It needs to be able to parse the
  2255.           return path and display the "last two words" of it, just like
  2256.           elm(1) does  when it encounters a message without a From:
  2257.  
  2258.     UB07  Version:     2.4PL0           Status:     Open
  2259.           Open Date:   1-Oct-92         Close Date:
  2260.           Reported by: Elm Development Group <elm@Myxa.com>
  2261.           Summary:     Arepdaemon does not check user permissions.
  2262.           Description:
  2263.           Arepdaemon has a bad security hole because it does not check
  2264.           to see if the user can read the file used for reply.
  2265.  
  2266.     UB09  Version:     2.4PL0           Status:     Open
  2267.           Open Date:   1-Oct-92         Close Date:
  2268.           Reported by: Elm Development Group <elm@Myxa.com>
  2269.           Summary:     Arepdeamon does not check status when unlinking data file.
  2270.           Description:
  2271.           Autoreply.c tries to unlink the file "/etc/autoreply.data"
  2272.           when there is only one entry in it and does not check the
  2273.           return value of unlink. This can have bad repercussions if
  2274.           the unlink fails because the program nevertheless reports
  2275.           success.
  2276.  
  2277.     UB13  Version:     2.4PL0           Status:     Open
  2278.           Open Date:   1-Oct-92         Close Date:
  2279.           Reported by: Elm Development Group <elm@Myxa.com>
  2280.           Summary:     Filter has no locking against multiple
  2281.                instantiations.
  2282.           Description:
  2283.           If filter is run on a system that allows multiple delivery
  2284.           agents, that can start up multiple copies of filter, delivery
  2285.           of messages can get intermixed.  Filter needs a complete
  2286.           interlocking to prevent this.
  2287.  
  2288.     UB15  Version:     2.4PL17          Status:     Closed
  2289.           Open Date:   25-Dec-92        Close Date: ?-93
  2290.           Reported by: Larry Rosenman <ler@lerami.lerctr.org>
  2291.           Summary:     readmsg does not honour Content-Length: headers
  2292.           Description:
  2293.           Readmsg does not honour Content-Length: headers - it uses the
  2294.           old standard of marking messages with From_  headers.  This
  2295.           makes it inconsistent with elm, and can make it imposible to
  2296.           print messages from within elm.
  2297.           [Fixed in PL22]
  2298.  
  2299. 5.0     Archivers, what they archive, how to download
  2300.  
  2301.     This is the list of Internet and UUCP sites distributing
  2302.     the latest version of Elm, from the Elm monthly posting.
  2303.  
  2304. 5.0.1   The following sites have agreed to make Elm available
  2305.     via anonymous ftp.
  2306.  
  2307.     Site            Contact
  2308.  
  2309.     In the US/Canada:
  2310.     -----------------
  2311.     wuarchive.wustl.edu    chris@wugate.wustl.edu (Chris Myers)
  2312.         (128.252.135.4)
  2313.     /packages/mail/elm
  2314.  
  2315.     ftp.uu.net
  2316.     (137.39.1.9, 192.48.96.9)
  2317.     /networking/mail/elm
  2318.  
  2319.     In Europe:
  2320.     ----------
  2321.     ftp.cs.ruu.nl        Edwin Kremer, edwin@cs.ruu.nl
  2322.     (131.211.80.17)
  2323.     /pub/ELM-2.4
  2324.  
  2325.     ftp.th-darmstadt.de    ftpadmin@ftp.th-darmstadt.de
  2326.     (130.83.55.75)
  2327.     /pub/networking/mail/elm
  2328.  
  2329.     In the UK:
  2330.     ----------
  2331.     uk.ac.soton.ecs        T.Chown@ecs.soton.ac.uk (bitnet)
  2332.     (152.78.64.201)            T.Chown@uk.ac.soton.ecs (JANET)
  2333.  
  2334.     ftp.demon.co.uk        Cliff Stanford, cliff@demon.co.uk
  2335.     (158.152.1.65)
  2336.     /pub/unix/mail/elm
  2337.  
  2338.         src.doc.ic.ac.uk    L.McLoughlin@doc.ic.ac.uk
  2339.         (146.169.2.10)
  2340.         /computing/mail/elm
  2341.  
  2342.         In Australia:
  2343.     -------------
  2344.         ftp.adelaide.edu.au     Mark Prior, mrp@itd.adelaide.edu.au
  2345.         (129.127.40.3)
  2346.     /pub/mailers
  2347.  
  2348.     In Taiwan:
  2349.     ----------
  2350.     NCTUCCCA.edu.tw        Huang, Chih-Hsien hch@NCTUCCCA.edu.tw
  2351.     (140.111.1.10 and 192.83.166.10)
  2352.     /packages/mail/elm
  2353.  
  2354. 5.0.2    The following sites have agreed to make Elm available
  2355.     via anonymous uucp:
  2356.  
  2357.         Site                    Contact
  2358.  
  2359.     uunet            Elm is /networking/mail/elm
  2360.  
  2361.     dsinc            Syd Weinstein
  2362.                 syd@Myxa.com, dsinc!syd
  2363.                 note: anon uucp info changed 12/16/91
  2364.                 For further info, send an e-mail
  2365.                 message to archive-server@Myxa.com stating:
  2366.                 send anon how-to dir
  2367.  
  2368.     stanton            Steven P. Donegan
  2369.                 donegan@stanton.cts.com, stanton!donegan 
  2370.                 714-894-2246 uucp - nuucp no word
  2371.                 Elm is /u/public/elm2.3.tar.Z
  2372.  
  2373.  
  2374.                 =+=+=+=+=+=+
  2375.  
  2376. Copyright Notice
  2377.  
  2378.     This FAQ is Copyright (C) Piero Serini.  All Rights are reserved.
  2379.  
  2380.     Permission  to use, copy and distribute this FAQ, or parts there-
  2381.     of, by any means and for any purpose is hereby granted,  provided
  2382.     that  both  the above Copyright notice and this permission notice
  2383.     appear in all copies of the FAQ itself.
  2384.  
  2385.     Reproducing this FAQ or parts thereof by any means, included, but
  2386.     not limited to, printing, copying existing prints, publishing  by
  2387.     electronic or other means, implies full agreement to the Publish-
  2388.     ing Notes (see below).
  2389.  
  2390.     Distribution of this file via USENET news is always permitted.
  2391.  
  2392. Warranty Disclaimer
  2393.  
  2394.     THIS  FAQ IS PROVIDED BY THE AUTHOR ``AS IS'', AND ANY EXPRESS OR
  2395.     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED  TO,  THE  IMPLIED
  2396.     WARRANTIES  OF  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
  2397.     POSE ARE DISCLAIMED.
  2398.     IN  NO  EVENT  SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
  2399.     DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,  OR  CONSEQUEN-
  2400.     TIAL  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUB-
  2401.     STITUTE GOODS OR SERVICES; LOSS OF  USE,  DATA,  OR  PROFITS;  OR
  2402.     BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON ANY THEORY OF LIA-
  2403.     BILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  2404.     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
  2405.     INFORMATIONS HEREIN CONTAINED, EVEN IF ADVISED OF THE POSSIBILITY
  2406.     OF SUCH DAMAGE.
  2407.  
  2408. Publishing Notes
  2409.  
  2410.     If  you  want to publish this FAQ by any means, electronically or
  2411.     otherwise, you can do it, provided the following  conditions  are
  2412.     met:
  2413.  
  2414.     1) The  above Copyright Notice  and Warranty Disclaimer appear in
  2415.        their entirety in all copies you publish;
  2416.     2) You notify me by e-mail that you will publish this FAQ;
  2417.     3) You use the latest version of the FAQ you can get;
  2418.     4) You let people know where to find updated versions of the FAQ;
  2419.     5) Any modifications (other than typesetting changes) you make to
  2420.        it are clearly designated as your modifications;
  2421.  
  2422.     You  shall  also send me a copy of the published material, in its
  2423.     entirety, free of charge. Should this not be possible, due to le-
  2424.     gal  or  other  restrictions,  please send me the part containing
  2425.     this FAQ, with full references to the  published  material  (i.e.
  2426.     ISBN or anything else to identify it), free of charge.
  2427.  
  2428. ----------------------
  2429. *** END of Elm FAQ *** This file has not been truncated
  2430.  
  2431.